Skip to content

Commit

Permalink
Apply tiny polish to QuarkusDevModeLauncher
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand authored and tmihalac committed Oct 27, 2022
1 parent 3515365 commit 5ff66c8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,9 @@ protected void prepare() throws Exception {
throw new Exception("The specified debug port must be greater than 0");
}

if (debug != null && debug.toLowerCase().equals("client")) {
if (debug != null && debug.equalsIgnoreCase("client")) {
args.add("-agentlib:jdwp=transport=dt_socket,address=" + debugHost + ":" + port + ",server=n,suspend=" + suspend);
} else if (debug == null || !debug.toLowerCase().equals("false")) {
} else if (debug == null || !debug.equalsIgnoreCase("false")) {
// make sure the debug port is not used, we don't want to just fail if something else is using it
// we don't check this on restarts, as the previous process is still running
if (debugPortOk == null) {
Expand Down

0 comments on commit 5ff66c8

Please sign in to comment.