Skip to content

Commit

Permalink
revert nullable changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pkwarren committed Mar 5, 2024
1 parent c15a889 commit 7fb9e22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
import java.util.HashMap;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
import org.projectnessie.cel.Env;
import org.projectnessie.cel.EnvOption;
import org.projectnessie.cel.checker.Decls;
Expand Down Expand Up @@ -295,7 +294,7 @@ private void processIgnoreEmpty(
}
}

private @Nullable Object zeroValue(FieldDescriptor fieldDescriptor, boolean forItems)
private Object zeroValue(FieldDescriptor fieldDescriptor, boolean forItems)
throws CompilationException {
final Object zero;
if (forItems && fieldDescriptor.isRepeated()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void append(Evaluator eval) {
}
}

public void setIgnoreEmpty(@Nullable Object zero) {
public void setIgnoreEmpty(Object zero) {
this.ignoreEmpty = true;
this.zero = zero;
}
Expand Down

0 comments on commit 7fb9e22

Please sign in to comment.