Skip to content
This repository has been archived by the owner on Oct 5, 2020. It is now read-only.

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

Open
GoogleCodeExporter opened this issue May 5, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 31 Jul 2012 at 8:39

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 17 Apr 2013 at 10:19

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant