< prev index next >

src/jdk.jdi/share/classes/com/sun/jdi/connect/ListeningConnector.java

Print this page
rev 17275 : 8181417: Code cleanups in com.sun.jdi

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2017, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -23,21 +23,23 @@
  * questions.
  */
 
 package com.sun.jdi.connect;
 
-import java.util.Map;
 import java.io.IOException;
+import java.util.Map;
+
 import com.sun.jdi.VirtualMachine;
 
 /**
  * A connector which listens for a connection initiated by a target VM.
  *
  * @author Gordon Hirsch
  * @since  1.3
  */
 public interface ListeningConnector extends Connector {
+
     /**
      * Indicates whether this listening connector supports multiple
      * connections for a single argument map. If so, a call to
      * {@link #startListening} may allow
      * multiple target VM to become connected.

@@ -94,11 +96,10 @@
      * connector arguments is invalid.
      */
     void stopListening(Map<String,? extends Connector.Argument> arguments)
         throws IOException, IllegalConnectorArgumentsException;
 
-
     /**
      * Waits for a target VM to attach to this connector.
      *
      * @throws TransportTimeoutException when the Connector encapsulates
      * a transport that supports a timeout when accepting, a

@@ -111,7 +112,6 @@
      * @throws IllegalConnectorArgumentsException when one of the
      * connector arguments is invalid.
      */
     VirtualMachine accept(Map<String,? extends Connector.Argument> arguments)
         throws IOException, IllegalConnectorArgumentsException;
-
 }
< prev index next >