< prev index next >

src/java.desktop/share/classes/com/sun/media/sound/AbstractMidiDeviceProvider.java

Print this page

        

@@ -50,11 +50,10 @@
 
         // $$fb number of MIDI devices may change with time
         // also for memory's sake, do not initialize the arrays here
     }
 
-
     final synchronized void readDeviceInfos() {
         Info[] infos = getInfoCache();
         MidiDevice[] devices = getDeviceCache();
         if (!enabled) {
             if (infos == null || infos.length != 0) {

@@ -146,14 +145,10 @@
             }
         }
         throw MidiUtils.unsupportedDevice(info);
     }
 
-
-    // INNER CLASSES
-
-
     /**
      * Info class for MidiDevices.  Adds an index value for
      * making native references to a particular device.
      */
     static class Info extends MidiDevice.Info {

@@ -180,13 +175,10 @@
             this.index = index;
         }
 
     } // class Info
 
-
-    // ABSTRACT METHODS
-
     abstract int getNumDevices();
     abstract MidiDevice[] getDeviceCache();
     abstract void setDeviceCache(MidiDevice[] devices);
     abstract Info[] getInfoCache();
     abstract void setInfoCache(Info[] infos);
< prev index next >