src/share/classes/com/sun/media/sound/AbstractLine.java

Print this page

        

@@ -46,11 +46,11 @@
 
     protected final Line.Info info;
     protected Control[] controls;
     AbstractMixer mixer;
     private boolean open     = false;
-    private final Vector listeners = new Vector();
+    private final Vector<Object> listeners = new Vector<>();
 
     /**
      * Contains event dispatcher per thread group.
      */
     private static final Map<ThreadGroup, EventDispatcher> dispatchers =