jdk/src/share/classes/java/util/Observable.java
changeset 12448 b95438b17098
parent 10350 6d009f117062
child 14342 8435a30053c1
--- a/jdk/src/share/classes/java/util/Observable.java	Tue Apr 17 11:59:12 2012 -0700
+++ b/jdk/src/share/classes/java/util/Observable.java	Tue Apr 17 12:21:56 2012 -0700
@@ -61,12 +61,12 @@
  */
 public class Observable {
     private boolean changed = false;
-    private Vector obs;
+    private Vector<Observer> obs;
 
     /** Construct an Observable with zero Observers. */
 
     public Observable() {
-        obs = new Vector();
+        obs = new Vector<>();
     }
 
     /**