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

Unchecked call warning #14

Open
monis0395 opened this issue Mar 11, 2018 · 0 comments
Open

Unchecked call warning #14

monis0395 opened this issue Mar 11, 2018 · 0 comments

Comments

@monis0395
Copy link

Hi,

The IDE throws warning unchecked call whenever I use TinyTask
Unchecked call to 'whenDone(DoThis<T>)' as a member of raw type 'inaka.com.tinytask.TinyTask'
TinyTask.perform(new Something<String>() { @Override public String whichDoes() throws Exception { return "some string"; } }).whenDone(new DoThis<String>() { @Override public void ifOK(String someString) { show(someString); } @Override public void ifNotOK(Exception e) { Log.e("TAG", "exception", e); } }).go();

I even tried adding Suppress Warning but it gives me an error that cannot add annotations here,
If I Do TinyTask<String>.perform again an error

I would be really helpful if you'll help. Warnings are annoying!

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

1 participant