< prev index next >

src/com/sun/interview/FileQuestion.java

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

@@ -129,11 +129,11 @@
      * Set the response to this question to the value represented by
      * a string-valued argument.
      * @see #getValue
      */
     public void setValue(String path) {
-        setValue(path == null ? (File)null : new File(path));
+        setValue(path == null ? null : new File(path));
     }
 
     /**
      * Set the current value.
      * @param newValue The value to be set.
< prev index next >