Skip to content

Commit 2bfb7f6

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 721a170 commit 2bfb7f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libs/x-content/src/main/java/org/elasticsearch/xcontent/AbstractObjectParser.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,8 @@ public void declareLongOrNull(BiConsumer<Value, Long> consumer, long nullValue,
246246
);
247247
}
248248

249-
@UpdateForV10(owner = UpdateForV10.Owner.DISTRIBUTED_COORDINATION) // Prevent non-integer arguments (floats, doubles, stringified floats and doubles)
249+
@UpdateForV10(owner = UpdateForV10.Owner.DISTRIBUTED_COORDINATION) // Prevent non-integer arguments (floats, doubles, stringified floats
250+
// and doubles)
250251
public void declareInt(BiConsumer<Value, Integer> consumer, ParseField field) {
251252
// Using a method reference here angers some compilers
252253
declareField(consumer, p -> p.intValue(), field, ValueType.INT);

0 commit comments

Comments
 (0)