commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r666197 - in /commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite: TestCompositeUnaryPredicate.java TestCompositeUnaryProcedure.java
Date Tue, 10 Jun 2008 16:48:35 GMT
Author: mbenson
Date: Tue Jun 10 09:48:35 2008
New Revision: 666197

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

Modified:
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestCompositeUnaryPredicate.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestCompositeUnaryProcedure.java

Modified: commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestCompositeUnaryPredicate.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestCompositeUnaryPredicate.java?rev=666197&r1=666196&r2=666197&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestCompositeUnaryPredicate.java
(original)
+++ commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestCompositeUnaryPredicate.java
Tue Jun 10 09:48:35 2008
@@ -66,6 +66,7 @@
         assertFalse(Composite.predicate(Constant.FALSE, Constant.of(4)).test("xyzzy"));
     }
 
+    @SuppressWarnings("unchecked")
     public void testNullNotAllowed() throws Exception {
         try {
             new CompositeUnaryPredicate(null);

Modified: commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestCompositeUnaryProcedure.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestCompositeUnaryProcedure.java?rev=666197&r1=666196&r2=666197&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestCompositeUnaryProcedure.java
(original)
+++ commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestCompositeUnaryProcedure.java
Tue Jun 10 09:48:35 2008
@@ -66,6 +66,7 @@
         Composite.procedure(NoOp.instance(), Identity.instance()).run(null);
     }
 
+    @SuppressWarnings("unchecked")
     public void testNullNotAllowed() throws Exception {
         try {
             new CompositeUnaryProcedure(null);



Mime
View raw message