commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1169757 - /commons/proper/chain/trunk/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java
Date Mon, 12 Sep 2011 14:16:47 GMT
Author: simonetripodi
Date: Mon Sep 12 14:16:47 2011
New Revision: 1169757

URL: http://svn.apache.org/viewvc?rev=1169757&view=rev
Log:
[CHAIN-53] warkaround for old version of javac that raise "type parameters of <T>T cannot
be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object"
error

Modified:
    commons/proper/chain/trunk/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java

Modified: commons/proper/chain/trunk/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/trunk/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java?rev=1169757&r1=1169756&r2=1169757&view=diff
==============================================================================
--- commons/proper/chain/trunk/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java
(original)
+++ commons/proper/chain/trunk/src/test/java/org/apache/commons/chain/generic/DispatchCommandTestCase.java
Mon Sep 12 14:16:47 2011
@@ -138,7 +138,7 @@ public class DispatchCommandTestCase ext
         }
 
         public <T> T retrieve(String key) {
-            return wrappedContext.retrieve(key);
+            return (T) wrappedContext.retrieve(key);
         }
 
         @Override



Mime
View raw message