8231768: Remove duplicate if/else in vmTestbase/nsk/share/jdi/Binder.java
authorlmesnik
Thu, 03 Oct 2019 08:50:10 -0700
changeset 58457 7a4183b8062f
parent 58454 d873ce07465d
child 58458 3ab9f0464a7d
8231768: Remove duplicate if/else in vmTestbase/nsk/share/jdi/Binder.java Reviewed-by: sspitsyn, phh, cjplummer
test/hotspot/jtreg/vmTestbase/nsk/share/jdi/Binder.java
--- a/test/hotspot/jtreg/vmTestbase/nsk/share/jdi/Binder.java	Thu Oct 03 13:45:08 2019 +0200
+++ b/test/hotspot/jtreg/vmTestbase/nsk/share/jdi/Binder.java	Thu Oct 03 08:50:10 2019 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -201,8 +201,6 @@
                 debugee = localLaunchDebugee(vmm, classToExecute, classPath);
             } else if (argumentHandler.isAttachingConnector()) {
                 debugee = localLaunchAndAttachDebugee(vmm, classToExecute, classPath);
-            } else if (argumentHandler.isLaunchingConnector()) {
-                debugee = localLaunchDebugee(vmm, classToExecute, classPath);
             } else if (argumentHandler.isListeningConnector()) {
                 debugee = localLaunchAndListenDebugee(vmm, classToExecute, classPath);
             } else {