Skip to content

Commit

Permalink
enforce checks
Browse files Browse the repository at this point in the history
  • Loading branch information
amarziali committed Dec 12, 2024
1 parent 0559bdb commit 933c7fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static String extractDeploymentName(final ThreadContextClassLoader classL
return null;
}
final int tail = id.lastIndexOf('#');
if (tail < 0) {
if (tail <= head) {
return null;
}
return id.substring(head + 1, tail);
Expand Down

0 comments on commit 933c7fa

Please sign in to comment.