commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r666178 - /commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/TestNoOp.java
Date Tue, 10 Jun 2008 16:09:13 GMT
Author: mbenson
Date: Tue Jun 10 09:09:13 2008
New Revision: 666178

URL: http://svn.apache.org/viewvc?rev=666178&view=rev
Log:
unchecked warnings

Modified:
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/TestNoOp.java

Modified: commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/TestNoOp.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/TestNoOp.java?rev=666178&r1=666177&r2=666178&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/TestNoOp.java
(original)
+++ commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/TestNoOp.java
Tue Jun 10 09:09:13 2008
@@ -79,8 +79,8 @@
         assertObjectsAreEqual(p,new NoOp());
         assertObjectsAreEqual(p,NoOp.instance());
         assertObjectsAreNotEqual(p,new Procedure() { public void run() { } });
-        assertObjectsAreNotEqual(p,new UnaryProcedure() { public void run(Object a) { } });
-        assertObjectsAreNotEqual(p,new BinaryProcedure() { public void run(Object a, Object
b) { } });
+        assertObjectsAreNotEqual(p,new UnaryProcedure<Object>() { public void run(Object
a) { } });
+        assertObjectsAreNotEqual(p,new BinaryProcedure<Object, Object>() { public void
run(Object a, Object b) { } });
     }
 
     public void testConstant() throws Exception {



Mime
View raw message