You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement e.g. the castToNonNullMethods method and return a method ref with a signature like "<T>castToNonNull(T, java.lang.String)" (notice the space after the comma!)
Expected: It works, because the Javadocs example has a comma, see:
Steps to reproduce:
LibraryModels
implementationcastToNonNullMethods
method and return a method ref with a signature like"<T>castToNonNull(T, java.lang.String)"
(notice the space after the comma!)Expected: It works, because the Javadocs example has a comma, see:
NullAway/nullaway/src/main/java/com/uber/nullaway/LibraryModels.java
Lines 189 to 190 in 6cec433
Actual: The space doesn't make it work. Removing the space makes it work:
The Javadocs should probably be fixed, or spaces could be removed by
methodRef
.The text was updated successfully, but these errors were encountered: