diff options
Diffstat (limited to 'libjava/classpath/java/util/prefs')
-rw-r--r-- | libjava/classpath/java/util/prefs/Preferences.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/classpath/java/util/prefs/Preferences.java b/libjava/classpath/java/util/prefs/Preferences.java index 297759d88a4..e53e4fc7938 100644 --- a/libjava/classpath/java/util/prefs/Preferences.java +++ b/libjava/classpath/java/util/prefs/Preferences.java @@ -251,7 +251,7 @@ public abstract class Preferences { * @exception SecurityException when a security manager is installed and * the caller does not have <code>RuntimePermission("preferences")</code>. */ - public static Preferences systemNodeForPackage(Class c) + public static Preferences systemNodeForPackage(Class<?> c) throws SecurityException { return nodeForPackage(c, systemRoot()); @@ -270,7 +270,7 @@ public abstract class Preferences { * @exception SecurityException when a security manager is installed and * the caller does not have <code>RuntimePermission("preferences")</code>. */ - public static Preferences userNodeForPackage(Class c) + public static Preferences userNodeForPackage(Class<?> c) throws SecurityException { return nodeForPackage(c, userRoot()); |