@@ -106,13 +106,13 @@ static void validate(PropertiesMetadata propertiesMetadata, Map<String, String>
106
106
if (wildcardProperties .size () > 0 ) {
107
107
// Find the wildcard config key from the properties
108
108
List <String > wildcardNodePropertyKeys =
109
- wildcardProperties .stream ()
110
- .filter (key -> !key .contains (WildcardPropertiesMeta .Constants .WILDCARD ))
111
- .collect (Collectors .toList ());
109
+ wildcardProperties .stream ()
110
+ .filter (key -> !key .contains (WildcardPropertiesMeta .Constants .WILDCARD ))
111
+ .collect (Collectors .toList ());
112
112
Preconditions .checkArgument (
113
- wildcardNodePropertyKeys .size () == 1 ,
114
- "Only one wildcard config key is allowed, found: %s" ,
115
- wildcardNodePropertyKeys );
113
+ wildcardNodePropertyKeys .size () == 1 ,
114
+ "Only one wildcard config key is allowed, found: %s" ,
115
+ wildcardNodePropertyKeys );
116
116
String wildcardNodePropertyKey = wildcardNodePropertyKeys .get (0 );
117
117
String wildcardValue = properties .get (wildcardNodePropertyKey );
118
118
if (wildcardValue == null || wildcardValue .isEmpty ()) {
@@ -121,9 +121,7 @@ static void validate(PropertiesMetadata propertiesMetadata, Map<String, String>
121
121
122
122
// Get the wildcard values from the properties
123
123
List <String > wildcardValues =
124
- Arrays .stream (
125
- wildcardValue
126
- .split (Constants .WILDCARD_CONFIG_VALUES_SPLITTER ))
124
+ Arrays .stream (wildcardValue .split (Constants .WILDCARD_CONFIG_VALUES_SPLITTER ))
127
125
.map (String ::trim )
128
126
.collect (Collectors .toList ());
129
127
wildcardValues .stream ()
0 commit comments