Category Archives: Guava

FindBugs warning with Guava’s Predicate interface

When running FindBugs on some code I wrote, I received a ¬†NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE¬†warning: Bug type NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE (click for details) In class com.wall.steve.HelperMethods$1 In method com.wall.steve.HelperMethods$1.apply(MyItem) Parameter item At[line 27] This was the code I had written: //com.wall.steve.HelperMethods class public static … Continue reading

Posted in Guava, Java | Tagged , | Leave a comment