Skip to content

Commit

Permalink
contains -> startsWith
Browse files Browse the repository at this point in the history
  • Loading branch information
devoxin committed Dec 10, 2024
1 parent 1163a57 commit 4ac495e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public URI resolveFormatUrl(@NotNull HttpInterface httpInterface, @NotNull Strin
logMessage = "Transformed n parameter is null, n function possibly faulty";
} else if (nParameter.equals(transformed)) {
logMessage = "Transformed n parameter is the same as input, n function possibly short-circuited";
} else if (transformed.contains("enhanced_except_") || transformed.endsWith("_w8_" + nParameter)) {
} else if (transformed.startsWith("enhanced_except_") || transformed.endsWith("_w8_" + nParameter)) {
logMessage = "N function did not complete due to exception";
}

Expand Down

0 comments on commit 4ac495e

Please sign in to comment.