src/share/classes/sun/awt/geom/Order3.java

Print this page
rev 9830 : 8039642: Fix raw and unchecked warnings in sun.awt.*
Reviewed-by: darcy, prr

@@ -51,11 +51,11 @@
     private double ycoeff0;
     private double ycoeff1;
     private double ycoeff2;
     private double ycoeff3;
 
-    public static void insert(Vector curves, double tmp[],
+    public static void insert(Vector<? super Order3> curves, double tmp[],
                               double x0, double y0,
                               double cx0, double cy0,
                               double cx1, double cy1,
                               double x1, double y1,
                               int direction)

@@ -103,11 +103,11 @@
                 index -= 6;
             }
         }
     }
 
-    public static void addInstance(Vector curves,
+    public static void addInstance(Vector<? super Order3> curves,
                                    double x0, double y0,
                                    double cx0, double cy0,
                                    double cx1, double cy1,
                                    double x1, double y1,
                                    int direction) {