You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/08/14 22:21:59 UTC
svn commit: r1157647 -
/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/UnaryFunctionUnaryPredicate.java
Author: simonetripodi
Date: Sun Aug 14 20:21:59 2011
New Revision: 1157647
URL: http://svn.apache.org/viewvc?rev=1157647&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/UnaryFunctionUnaryPredicate.java
Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/UnaryFunctionUnaryPredicate.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/UnaryFunctionUnaryPredicate.java?rev=1157647&r1=1157646&r2=1157647&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/UnaryFunctionUnaryPredicate.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/UnaryFunctionUnaryPredicate.java Sun Aug 14 20:21:59 2011
@@ -63,9 +63,6 @@ public final class UnaryFunctionUnaryPre
* Returns the <code>boolean</code> value of the non-<code>null</code>
* <code>Boolean</code> returned by the {@link UnaryFunction#evaluate evaluate}
* method of my underlying function.
- *
- * @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(A obj) {
return function.evaluate(obj);