@@ -195,16 +195,20 @@ public static Map<String, Type> findTypes(final Document document, final XPath x
195195 typeByNameMap .put ("float" , new EncodedDataType ("float" , REQUIRED , null , null , FLOAT , 1 , false ));
196196 typeByNameMap .put ("double" , new EncodedDataType ("double" , REQUIRED , null , null , DOUBLE , 1 , false ));
197197
198- forEach ((NodeList )xPath .compile (TYPE_XPATH_EXPR ).evaluate (document , XPathConstants .NODESET ),
198+ forEach (
199+ (NodeList )xPath .compile (TYPE_XPATH_EXPR ).evaluate (document , XPathConstants .NODESET ),
199200 (node ) -> addTypeWithNameCheck (typeByNameMap , new EncodedDataType (node ), node ));
200201
201- forEach ((NodeList )xPath .compile (COMPOSITE_XPATH_EXPR ).evaluate (document , XPathConstants .NODESET ),
202+ forEach (
203+ (NodeList )xPath .compile (COMPOSITE_XPATH_EXPR ).evaluate (document , XPathConstants .NODESET ),
202204 (node ) -> addTypeWithNameCheck (typeByNameMap , new CompositeType (node ), node ));
203205
204- forEach ((NodeList )xPath .compile (ENUM_XPATH_EXPR ).evaluate (document , XPathConstants .NODESET ),
206+ forEach (
207+ (NodeList )xPath .compile (ENUM_XPATH_EXPR ).evaluate (document , XPathConstants .NODESET ),
205208 (node ) -> addTypeWithNameCheck (typeByNameMap , new EnumType (node ), node ));
206209
207- forEach ((NodeList )xPath .compile (SET_XPATH_EXPR ).evaluate (document , XPathConstants .NODESET ),
210+ forEach (
211+ (NodeList )xPath .compile (SET_XPATH_EXPR ).evaluate (document , XPathConstants .NODESET ),
208212 (node ) -> addTypeWithNameCheck (typeByNameMap , new SetType (node ), node ));
209213
210214 return typeByNameMap ;
@@ -226,7 +230,8 @@ public static Map<Long, Message> findMessages(
226230 final Map <Long , Message > messageByIdMap = new HashMap <>();
227231 final ObjectHashSet <String > distinctNames = new ObjectHashSet <>();
228232
229- forEach ((NodeList )xPath .compile (MESSAGE_XPATH_EXPR ).evaluate (document , XPathConstants .NODESET ),
233+ forEach (
234+ (NodeList )xPath .compile (MESSAGE_XPATH_EXPR ).evaluate (document , XPathConstants .NODESET ),
230235 (node ) -> addMessageWithIdCheck (distinctNames , messageByIdMap , new Message (node , typeByNameMap ), node ));
231236
232237 if (messageByIdMap .isEmpty ())
0 commit comments