Skip to content

Commit

Permalink
Enable Error Prone check: NullableOptional
Browse files Browse the repository at this point in the history
  • Loading branch information
ksobolew committed Aug 3, 2023
1 parent 3176cca commit 9bd4232
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public class TableScanNode

@Nullable // null on workers
private final TupleDomain<ColumnHandle> enforcedConstraint;
@SuppressWarnings("NullableOptional")
@Nullable // null on workers
private final Optional<PlanNodeStatsEstimate> statistics;
private final boolean updateTarget;
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2475,6 +2475,7 @@
-Xep:MutablePublicArray:ERROR \
-Xep:NarrowingCompoundAssignment:ERROR \
-Xep:NullOptional:ERROR \
-Xep:NullableOptional:ERROR \
-Xep:ObjectToString:ERROR \
-Xep:OptionalNotPresent:ERROR \
-Xep:OrphanedFormatString:ERROR \
Expand Down

0 comments on commit 9bd4232

Please sign in to comment.