Skip to content

Commit

Permalink
Apply cfformat changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jclausen authored and github-actions[bot] committed Jan 20, 2025
1 parent dd897bc commit 4558172
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,8 @@ public static Stream<IStruct> findKey( IStruct struct, String key ) {
String stringKey = entry.getKey().getName().toLowerCase();
return splitParts.length > 1
? splitParts[ splitParts.length - 1 ].equals( key.toLowerCase() ) || stringKey.equals( key.toLowerCase() )
: results.stream().filter( result -> result.get( Key.value ).equals( entry.getValue() ) ).count() == 0 && stringKey.equals( key.toLowerCase() );
: results.stream().filter( result -> result.get( Key.value ).equals( entry.getValue() ) ).count() == 0
&& stringKey.equals( key.toLowerCase() );
} )
.map( entry -> {
Struct returnStruct = new Struct( Struct.TYPES.LINKED );
Expand Down

0 comments on commit 4558172

Please sign in to comment.