You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2013/01/11 15:54:52 UTC
svn commit: r1432072 -
/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/plugins/ResolverUtil.java
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.