commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1180172 - /commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalPredicate.java
Date Fri, 07 Oct 2011 19:20:30 GMT
Author: simonetripodi
Date: Fri Oct  7 19:20:30 2011
New Revision: 1180172

URL: http://svn.apache.org/viewvc?rev=1180172&view=rev
Log:
added missing javadoc comments

Modified:
    commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalPredicate.java

Modified: commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalPredicate.java
URL: http://svn.apache.org/viewvc/commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalPredicate.java?rev=1180172&r1=1180171&r2=1180172&view=diff
==============================================================================
--- commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalPredicate.java
(original)
+++ commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalPredicate.java
Fri Oct  7 19:20:30 2011
@@ -46,12 +46,21 @@ public final class ConditionalPredicate 
      */
     private static final long serialVersionUID = 7333505000745854098L;
 
-    /** Base hash integer used to shift hash */
+    /** Base hash integer used to shift hash. */
     private static final int HASH_SHIFT = 4;
     // attributes
     // ------------------------------------------------------------------------
+    /**
+     * the condition to be evaluated.
+     */
     private final Predicate ifPred;
+    /**
+     * the predicate executed if the condition is satisfied.
+     */
     private final Predicate thenPred;
+    /**
+     * the predicate executed if the condition is not satisfied.
+     */
     private final Predicate elsePred;
 
     // constructor



Mime
View raw message