changeset 58212:7a4183b8062f

8231768: Remove duplicate if/else in vmTestbase/nsk/share/jdi/Binder.java Reviewed-by: sspitsyn, phh, cjplummer
author lmesnik
date Thu, 03 Oct 2019 08:50:10 -0700
parents d873ce07465d
children 3ab9f0464a7d
files test/hotspot/jtreg/vmTestbase/nsk/share/jdi/Binder.java
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 {