fansonfong / funf-open-sensing-framework

Automatically exported from code.google.com/p/funf-open-sensing-framework
0 stars 0 forks source link

Unable to compile Funf in Eclipse: problem in AsyncSharedPrefs.java #91

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Clone the source from git repository using
git clone https://code.google.com/p/funf-open-sensing-framework/
2. Open the project in Eclipse

What is the expected output? What do you see instead?
In the class AsyncSharedPrefs.java, at the line 
"public final class AsyncEditorImpl implements SharedPreferences.Editor {"

Eclipse shows the following error:
"The type AsyncSharedPrefs.AsyncEditorImpl must implement the inherited 
abstract method SharedPreferences.Editor.apply()"

What version of the product are you using? On what operating system?
I am using the latest source of Funf framework from git. I opened it using 
Eclipse Indigo Service Release 2 on Windows 7.

Please provide any additional information below.

Original issue reported on code.google.com by s.sanad...@gmail.com on 31 Jul 2012 at 8:39

GoogleCodeExporter commented 9 years ago
You have to change the API level of your funf project to < 8 if you don't want 
to change the framework code or you can simply implement the apply() method :-)

More details 
http://stackoverflow.com/questions/5960678/whats-the-difference-between-commit-a
nd-apply

Original comment by anna.m.w...@gmail.com on 17 Apr 2013 at 10:19