logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1432072 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/ResolverUtil.java
Date Fri, 11 Jan 2013 14:54:52 GMT
Author: ggregory
Date: Fri Jan 11 14:54:52 2013
New Revision: 1432072

URL: http://svn.apache.org/viewvc?rev=1432072&view=rev
Log:
Generics.

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/ResolverUtil.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/ResolverUtil.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/ResolverUtil.java?rev=1432072&r1=1432071&r2=1432072&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/ResolverUtil.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/ResolverUtil.java
Fri Jan 11 14:54:52 2013
@@ -467,13 +467,13 @@ public class ResolverUtil<T> {
      * that this test will match the parent type itself if it is presented for matching.
      */
     public static class IsA extends ClassTest {
-        private final Class parent;
+        private final Class<?> parent;
 
         /**
          * Constructs an IsA test using the supplied Class as the parent class/interface.
          * @param parentType The parent class to check for.
          */
-        public IsA(final Class parentType) { this.parent = parentType; }
+        public IsA(final Class<?> parentType) { this.parent = parentType; }
 
         /**
          * Returns true if type is assignable to the parent type supplied in the constructor.



Mime
View raw message