src/share/classes/sun/rmi/rmic/newrmic/Resources.java

Print this page

        

@@ -67,11 +67,11 @@
         String format = getString(key);
         if (format == null) {
             format = "missing resource key: key = \"" + key + "\", " +
                 "arguments = \"{0}\", \"{1}\", \"{2}\"";
         }
-        return MessageFormat.format(format, (Object[]) args);
+        return MessageFormat.format(format, args);
     }
 
     /**
      * Returns the rmic resource string for the specified key.
      **/