You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by te...@apache.org on 2006/05/31 16:35:29 UTC
svn commit: r410545 -
/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/java/java/util/prefs/Preferences.java
Author: tellison
Date: Wed May 31 07:35:28 2006
New Revision: 410545
URL: http://svn.apache.org/viewvc?rev=410545&view=rev
Log:
Generics uplift.
Modified:
incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/java/java/util/prefs/Preferences.java
Modified: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/java/java/util/prefs/Preferences.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/java/java/util/prefs/Preferences.java?rev=410545&r1=410544&r2=410545&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/java/java/util/prefs/Preferences.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/main/java/java/util/prefs/Preferences.java Wed May 31 07:35:28 2006
@@ -757,7 +757,7 @@
* if <code>RuntimePermission("preferences")</code> is denied
* by a <code>SecurityManager</code>
*/
- public static Preferences systemNodeForPackage (Class c) {
+ public static Preferences systemNodeForPackage (Class<?> c) {
checkSecurity();
return factory.systemRoot().node(getNodeName(c));
}
@@ -804,7 +804,7 @@
* if <code>RuntimePermission("preferences")</code> is denied
* by a <code>SecurityManager</code>
*/
- public static Preferences userNodeForPackage (Class c) {
+ public static Preferences userNodeForPackage (Class<?> c) {
checkSecurity();
return factory.userRoot().node(getNodeName(c));
}