1818class ObjectConfigPropertyImpl <T > extends AbstractConfigProperty <T >
1919 implements ObjectConfigProperty <T > {
2020
21+ @ SuppressWarnings ("rawtypes" )
2122 ObjectConfigPropertyImpl (
2223 Map <String , String > bindingMap ,
2324 Class <T > cfgClass ,
@@ -30,8 +31,7 @@ class ObjectConfigPropertyImpl<T> extends AbstractConfigProperty<T>
3031 setPropertyCallback (computePropertyCallback (cfgClass , propertyFields , propertyCallbackMap ));
3132
3233 computeValue (
33- propertyFields
34- .stream ()
34+ propertyFields .stream ()
3535 .map (ObjectPropertyField ::getPropertyName )
3636 .filter (propertyMap ::containsKey )
3737 .map (propertyMap ::get )
@@ -71,8 +71,7 @@ private PropertyCallback<T> computePropertyCallback(
7171 list -> ObjectPropertyParser .parseObject (list , propertyFields , cfgClass ));
7272
7373 List <String > propertyNames =
74- propertyFields
75- .stream ()
74+ propertyFields .stream ()
7675 .map (ObjectPropertyField ::getPropertyName )
7776 .collect (Collectors .toList ());
7877
@@ -88,9 +87,7 @@ private PropertyCallback<T> computePropertyCallback(
8887 }
8988
9089 // noinspection unchecked
91- return propertyCallbackMap
92- .values ()
93- .stream ()
90+ return propertyCallbackMap .values ().stream ()
9491 .filter (callbackMap -> callbackMap .containsKey (propertyClass ))
9592 .map (callbackMap -> callbackMap .get (propertyClass ))
9693 .collect (Collectors .toSet ())
0 commit comments