Skip to content

Commit fc560d1

Browse files
committed
Tests
1 parent 84ebad9 commit fc560d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/build/buf/protovalidate/ObjectValue.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ public List<Value> repeatedValue() {
9898

9999
// TODO - This is essentially the same functionality as `mapValue` except that it
100100
// returns a Map of Objects rather than a Map of protovalidate-java Value.
101-
// Trying to bind to a variable (i.e. `this`) using a Map of Values does not work
102-
// because CEL-Java doesn't know how to interpret a
103-
private Map<Object, Object> getMapBinding() {
101+
// Trying to bind a Map of Values to a CEL variable (i.e. `this`) does not work
102+
// because CEL-Java doesn't know how to interpret that proprietary Value object.
103+
private Map<Object, Object> mapValueAsObject() {
104104
List<AbstractMessage> input =
105105
value instanceof List
106106
? (List<AbstractMessage>) value

0 commit comments

Comments
 (0)