Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ maven-plugin = { module = "com.vanniktech:gradle-maven-publish-plugin", version.
nullaway = { module = "com.uber.nullaway:nullaway", version = "0.14.3" }
protobuf-java = { module = "com.google.protobuf:protobuf-java", version.ref = "protobuf" }
re2j = { module = "com.google.re2j:re2j", version.ref = "re2j" }
spotless = { module = "com.diffplug.spotless:spotless-plugin-gradle", version = "8.10.4" }
spotless = { module = "com.diffplug.spotless:spotless-plugin-gradle", version = "8.11.0" }

[plugins]
errorprone = { id = "net.ltgt.errorprone", version = "5.2.0" }
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/build/buf/protovalidate/CustomOverload.java
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ private static CelFunctionBinding celIsIpPrefixIntBool() {
return CelFunctionBinding.from(
"is_ip_prefix_int_bool",
Arrays.asList(String.class, Long.class, Boolean.class),
(args) -> isIpPrefix((String) args[0], (Long) args[1], (Boolean) args[2]));
args -> isIpPrefix((String) args[0], (Long) args[1], (Boolean) args[2]));
}

/**
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/build/buf/protovalidate/EnumRulesEvaluator.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ private EnumRulesEvaluator(

/**
* Builds a {@link EnumRulesEvaluator} for the {@code const}/{@code in}/{@code not_in} rules on
* the supplied {@code FieldRules.Builder}'s enum sub-message. Returns null when the enum sub-
* message is unset, has unknown fields, or has none of the covered rules. The {@code
* the supplied {@code FieldRules.Builder}'s enum sub-message. Returns null when the enum
* sub-message is unset, has unknown fields, or has none of the covered rules. The {@code
* defined_only} field is left untouched on the residual so the existing {@link
* build.buf.protovalidate.EnumEvaluator} continues to handle it.
*/
Expand Down
Loading