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
Minor, but Jetbrains Idea reports Filters.eq("anAttribute", null) as annotated @NotNull. It's actually annotated with com.mongodb.lang.Nullable, so I suspect something is wrong with that annotation, which is probably not your problem, but it seems like just switching to the standard javax.annotation.Nullable would solve the issue.
The text was updated successfully, but these errors were encountered:
It's actually missing an annotation on that field altogether. By default, all parameters and return values are non-nullable unless otherwise annotated. Since this parameter is missing that annotation, it gets the default from package-info.java.
evanchooly
changed the title
Minor, but Jetbrains Idea reports Filters.eq("anAttribute", null) as annotated @NotNull
Missing @Nullable on the value in Filters.eqJan 12, 2023
evanchooly
changed the title
Missing @Nullable on the value in Filters.eq
Missing @Nullable on the value in Filters.eq
Jan 12, 2023
Minor, but Jetbrains Idea reports Filters.eq("anAttribute", null) as annotated @NotNull. It's actually annotated with com.mongodb.lang.Nullable, so I suspect something is wrong with that annotation, which is probably not your problem, but it seems like just switching to the standard javax.annotation.Nullable would solve the issue.
The text was updated successfully, but these errors were encountered: