GP-0: fix for 'none' vs blank

This commit is contained in:
d-millar
2023-04-10 23:47:02 +00:00
parent eaf3f32121
commit 36bdc556f0
3 changed files with 6 additions and 6 deletions

View File

@@ -83,10 +83,10 @@ public class DbgModelInJvmDebuggerModelFactory implements DebuggerModelFactory {
}
protected void completeCommandLine(List<String> cmd) {
if (!remote.equals("none")) {
if (!remote.equals("none") && !remote.equals("")) {
cmd.addAll(List.of(remote));
}
if (!transport.equals("none")) {
if (!transport.equals("none") && !transport.equals("")) {
cmd.addAll(List.of(transport));
}
}