Skip to content

Commit

Permalink
fix equalsIgnoreCase error
Browse files Browse the repository at this point in the history
  • Loading branch information
“v_kkhuang” committed Jan 9, 2025
1 parent bde8fd8 commit 1090b99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public static boolean isUnAllowKilledEngineType(String engineType) {
AMConfiguration.UNALLOW_BATCH_KILL_ENGINE_TYPES.getValue().split(",");
Optional<String> findResult =
Arrays.stream(unAllowBatchKillEngine)
.filter(e -> e.equalsIgnoreCase(engineType))
.filter(e -> engineType.toLowerCase().contains(e))
.findFirst();
return findResult.isPresent();
}
Expand Down

0 comments on commit 1090b99

Please sign in to comment.