commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1157608 - /commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/FunctionPredicate.java
Date Sun, 14 Aug 2011 19:40:57 GMT
Author: simonetripodi
Date: Sun Aug 14 19:40:57 2011
New Revision: 1157608

URL: http://svn.apache.org/viewvc?rev=1157608&view=rev
Log:
fixed checkstyle violations: Unused @throws tag for 'NullPointerException' and 'ClassCastException'.

Modified:
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/FunctionPredicate.java

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/FunctionPredicate.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/FunctionPredicate.java?rev=1157608&r1=1157607&r2=1157608&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/FunctionPredicate.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/FunctionPredicate.java
Sun Aug 14 19:40:57 2011
@@ -61,8 +61,6 @@ public final class FunctionPredicate imp
      * <code>Boolean</code> returned by the {@link Function#evaluate evaluate}
      * method of my underlying function.
      * {@inheritDoc}
-     * @throws NullPointerException if my underlying function returns <code>null</code>
-     * @throws ClassCastException if my underlying function returns a non-<code>Boolean</code>
      */
     public boolean test() {
         return function.evaluate();



Mime
View raw message