src/share/classes/java/util/prefs/Preferences.java
Print this page
rev 4793 : 7117249: java.util warnings patches from LJC/Mike Barker
@@ -411,11 +411,11 @@
* of the specified object.
*
* @throws IllegalArgumentException if the package has node preferences
* node associated with it.
*/
- private static String nodeName(Class c) {
+ 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('.');