@@ -139,8 +139,8 @@ protected XContentBuilder otherStatsToXContent(XContentBuilder builder, Params p
139139 return builder ;
140140 }
141141
142- private static final ObjectParser <ParsedExtendedStats , Void > PARSER = new ObjectParser <>(ParsedExtendedStats .class .getSimpleName (), true ,
143- ParsedExtendedStats ::new );
142+ private static final ObjectParser <ParsedExtendedStats , Void > PARSER = new ObjectParser <>(ParsedExtendedStats .class .getSimpleName (),
143+ true , ParsedExtendedStats ::new );
144144
145145 private static final ConstructingObjectParser <Tuple <Double , Double >, Void > STD_BOUNDS_PARSER = new ConstructingObjectParser <>(
146146 ParsedExtendedStats .class .getSimpleName () + "_STD_BOUNDS" , true , args -> new Tuple <>((Double ) args [0 ], (Double ) args [1 ]));
@@ -152,7 +152,8 @@ protected XContentBuilder otherStatsToXContent(XContentBuilder builder, Params p
152152 }
153153
154154 private static final ConstructingObjectParser <Tuple <String , String >, Void > STD_BOUNDS_AS_STRING_PARSER = new ConstructingObjectParser <>(
155- ParsedExtendedStats .class .getSimpleName () + "_STD_BOUNDS_AS_STRING" , true , args -> new Tuple <>((String ) args [0 ], (String ) args [1 ]));
155+ ParsedExtendedStats .class .getSimpleName () + "_STD_BOUNDS_AS_STRING" , true ,
156+ args -> new Tuple <>((String ) args [0 ], (String ) args [1 ]));
156157 static {
157158 STD_BOUNDS_AS_STRING_PARSER .declareString (constructorArg (), new ParseField (Fields .LOWER ));
158159 STD_BOUNDS_AS_STRING_PARSER .declareString (constructorArg (), new ParseField (Fields .UPPER ));
0 commit comments