< prev index next >

src/java.desktop/share/classes/javax/sound/midi/Sequencer.java

Print this page
rev 57600 : 8236980: toString() cleanup in JavaSound
Reviewed-by: XXX

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2020, 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

@@ -718,18 +718,17 @@
 
             return super.hashCode();
         }
 
         /**
-         * Provides this synchronization mode's name as the string
-         * representation of the mode.
+         * Returns mode's name as the string representation of the
+         * synchronization mode.
          *
-         * @return the name of this synchronization mode
+         * @return a string representation of the synchronization mode
          */
         @Override
         public final String toString() {
-
             return name;
         }
 
         /**
          * A master synchronization mode that makes the sequencer get its timing
< prev index next >