harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r488289 - in /harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging: LogManager.java Logger.java
Date Mon, 18 Dec 2006 14:43:22 GMT
Author: tellison
Date: Mon Dec 18 06:43:21 2006
New Revision: 488289

URL: http://svn.apache.org/viewvc?view=rev&rev=488289
Log:
Fix minor compiler warnings.

Modified:
    harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/LogManager.java
    harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/Logger.java

Modified: harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/LogManager.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/LogManager.java?view=diff&rev=488289&r1=488288&r2=488289
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/LogManager.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/LogManager.java
Mon Dec 18 06:43:21 2006
@@ -29,7 +29,6 @@
 import java.util.Collection;
 import java.util.Enumeration;
 import java.util.Hashtable;
-import java.util.Iterator;
 import java.util.Properties;
 import java.util.StringTokenizer;
 

Modified: harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/Logger.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/Logger.java?view=diff&rev=488289&r1=488288&r2=488289
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/Logger.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/Logger.java
Mon Dec 18 06:43:21 2006
@@ -235,9 +235,9 @@
             }
         }
         // try all class loaders up the class stack
-        final Class[] classes = AccessController
-                .doPrivileged(new PrivilegedAction<Class[]>() {
-                    public Class[] run() {
+        final Class<?>[] classes = AccessController
+                .doPrivileged(new PrivilegedAction<Class<?>[]>() {
+                    public Class<?>[] run() {
                         return (new PrivateSecurityManager())
                                 .privateGetClassContext();
                     }
@@ -1366,7 +1366,7 @@
      * This security manager is used to access the class context.
      */
     static class PrivateSecurityManager extends SecurityManager {
-        public Class[] privateGetClassContext() {
+        public Class<?>[] privateGetClassContext() {
             return super.getClassContext();
         }
     }



Mime
View raw message