commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adri...@apache.org
Subject svn commit: r923477 - /commons/sandbox/convert/trunk/src/test/java/org/apache/commons/convert/TestBooleanConverters.java
Date Mon, 15 Mar 2010 22:29:43 GMT
Author: adrianc
Date: Mon Mar 15 22:29:43 2010
New Revision: 923477

URL: http://svn.apache.org/viewvc?rev=923477&view=rev
Log:
Oops, forgot to rename parameter in last commit.

Modified:
    commons/sandbox/convert/trunk/src/test/java/org/apache/commons/convert/TestBooleanConverters.java

Modified: commons/sandbox/convert/trunk/src/test/java/org/apache/commons/convert/TestBooleanConverters.java
URL: http://svn.apache.org/viewvc/commons/sandbox/convert/trunk/src/test/java/org/apache/commons/convert/TestBooleanConverters.java?rev=923477&r1=923476&r2=923477&view=diff
==============================================================================
--- commons/sandbox/convert/trunk/src/test/java/org/apache/commons/convert/TestBooleanConverters.java
(original)
+++ commons/sandbox/convert/trunk/src/test/java/org/apache/commons/convert/TestBooleanConverters.java
Mon Mar 15 22:29:43 2010
@@ -35,7 +35,7 @@ public class TestBooleanConverters exten
         assertEquals(label + " converted", falseResult, converter.convert(false));
     }
 
-    public static <T> void assertToBoolean(String label, Converter<T, Boolean>
converter, T trueSource, T falseSource) throws Exception {
+    public static <S> void assertToBoolean(String label, Converter<S, Boolean>
converter, S trueSource, S falseSource) throws Exception {
         assertTrue(label + " can convert", converter.canConvert(trueSource.getClass(), Boolean.class));
         assertEquals(label + " converted", Boolean.TRUE, converter.convert(trueSource));
         assertEquals(label + " converted", Boolean.FALSE, converter.convert(falseSource));



Mime
View raw message