< prev index next >

src/com/sun/interview/HelpSetFactory.java

Print this page
rev 145 : 7902237: Fixing raw use of parameterized class
Reviewed-by: jjg

@@ -45,11 +45,11 @@
      * Real implementation should create of javax.help.HelpSet, when a
      * stub implementation just object.
      *
      * @throws com.sun.interview.Interview.Fault if something went wrong
      */
-    public Object createHelpSetObject(String name, Class c) throws Interview.Fault;
+    public Object createHelpSetObject(String name, Class<?> c) throws Interview.Fault;
 
     /**
      * Creates an instance of HelpSet.
      * Real implementation should create of javax.help.HelpSet, when a
      * stub implementation just object.

@@ -76,11 +76,11 @@
     public static final HelpSetFactory DEFAULT = new Default();
 
     static class Default implements HelpSetFactory {
         private static final Object EMPTY = new Object();
 
-        public Object createHelpSetObject(String name, Class c) throws Fault {
+        public Object createHelpSetObject(String name, Class<?> c) throws Fault {
             return EMPTY;
         }
 
         public Object createHelpSetObject(String name, File file) throws Fault {
             return EMPTY;
< prev index next >