src/share/classes/java/util/prefs/Preferences.java

Print this page
rev 4802 : 7117249: fix warnings in java.util.jar, .logging, .prefs, .zip
Reviewed-by: alanb, dholmes, forax, sherman, smarks
Contributed-by: London Java Community and Michael Barker <mikeb01@gmail.com>

*** 411,421 **** * of the specified object. * * @throws IllegalArgumentException if the package has node preferences * node associated with it. */ ! private static String nodeName(Class c) { if (c.isArray()) throw new IllegalArgumentException( "Arrays have no associated preferences node."); String className = c.getName(); int pkgEndIndex = className.lastIndexOf('.'); --- 411,421 ---- * of the specified object. * * @throws IllegalArgumentException if the package has node preferences * node associated with it. */ ! private static String nodeName(Class<?> c) { if (c.isArray()) throw new IllegalArgumentException( "Arrays have no associated preferences node."); String className = c.getName(); int pkgEndIndex = className.lastIndexOf('.');