Author: mbenson
Date: Thu Oct 10 20:34:48 2013
New Revision: 1531101

URL: http://svn.apache.org/r1531101
Log:
explicitly specify method type parameter to fix compile error on Java 8

Modified:
    
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java

Modified: 
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java?rev=1531101&r1=1531100&r2=1531101&view=diff
==============================================================================
--- 
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java
 (original)
+++ 
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java
 Thu Oct 10 20:34:48 2013
@@ -527,7 +527,7 @@ public class TypeUtilsTest<B> {
     public void testTypesSatisfyVariables() throws SecurityException, 
NoSuchFieldException,
             NoSuchMethodException {
         final Map<TypeVariable<?>, Type> typeVarAssigns = new 
HashMap<TypeVariable<?>, Type>();
-        final Integer max = TypeUtilsTest.stub();
+        final Integer max = TypeUtilsTest.<Integer> stub();
         
typeVarAssigns.put(getClass().getMethod("stub").getTypeParameters()[0], 
Integer.class);
         Assert.assertTrue(TypeUtils.typesSatisfyVariables(typeVarAssigns));
         typeVarAssigns.clear();


Reply via email to