Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

public Object get ( String key, Class objectClass, Type objectType ) #3

Open
ChristopheCVB opened this issue Jun 25, 2014 · 1 comment

Comments

@ChristopheCVB
Copy link

I don't understand the use of SoftCachedObject.
I've not read the entire source but I think we can do this :

Change :

public Object get ( String key, Class objectClass, Type objectType )

by

public <T extends Object> get ( String key, Class<T> objectClass, Type objectType )

And drop SoftCachedObject ?

I tried to make the changes but I'm still using Eclipse and this seems not to be compatible with current project structure...

@iainconnor
Copy link
Owner

Added some information on SoftCachedObject over here -- #5 (comment) -- let me know if that helps it make more sense. Could possibly be solved nicer by having a unique callback as opposed to a unique object in the response of the callback.

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

No branches or pull requests

2 participants