Skip to content

Instantly share code, notes, and snippets.

@sebastianmonte
Created February 12, 2015 13:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebastianmonte/707b4afd4d00245e8c02 to your computer and use it in GitHub Desktop.
Save sebastianmonte/707b4afd4d00245e8c02 to your computer and use it in GitHub Desktop.
Check Return Value Error
[ERROR] /IdeaProjects/elasticsearch/src/main/java/org/elasticsearch/script/ScriptService.java:[247,37] [CheckReturnValue] Ignored return value of method that is annotated with @CheckReturnValue
(see http://code.google.com/p/error-prone/wiki/CheckReturnValue)
Did you mean 'cacheBuilder = cacheBuilder.removalListener(new ScriptCacheRemovalListener());'?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment