You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2013/04/30 21:49:03 UTC
svn commit: r1477798 -
/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/
Author: tn
Date: Tue Apr 30 19:49:02 2013
New Revision: 1477798
URL: http://svn.apache.org/r1477798
Log:
Remove trailing spaces.
Modified:
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AbstractQuantifierPredicate.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AllPredicate.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/CatchAndRethrowClosure.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ChainedClosure.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ChainedTransformer.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/CloneTransformer.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ClosureTransformer.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ComparatorPredicate.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ConstantFactory.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ConstantTransformer.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/DefaultEquator.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/EqualPredicate.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/Equator.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ExceptionClosure.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ExceptionFactory.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/FactoryTransformer.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ForClosure.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/IfClosure.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/InstantiateFactory.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/InvokerTransformer.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/NotPredicate.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/NullIsExceptionPredicate.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/NullIsTruePredicate.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/OnePredicate.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/PredicateDecorator.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/PredicateTransformer.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/PrototypeFactory.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/SwitchTransformer.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/TransformerClosure.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/WhileClosure.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/package-info.java
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AbstractQuantifierPredicate.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AbstractQuantifierPredicate.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AbstractQuantifierPredicate.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AbstractQuantifierPredicate.java Tue Apr 30 19:49:02 2013
@@ -30,10 +30,10 @@ public abstract class AbstractQuantifier
/** Serial version UID */
private static final long serialVersionUID = -3094696765038308799L;
-
+
/** The array of predicates to call */
protected final Predicate<? super T>[] iPredicates;
-
+
/**
* Constructor that performs no validation.
*
@@ -45,7 +45,7 @@ public abstract class AbstractQuantifier
/**
* Gets the predicates.
- *
+ *
* @return a copy of the predicates
* @since 3.1
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AllPredicate.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AllPredicate.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AllPredicate.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AllPredicate.java Tue Apr 30 19:49:02 2013
@@ -40,7 +40,7 @@ public final class AllPredicate<T> exten
/** Serial version UID */
private static final long serialVersionUID = -3094696765038308799L;
-
+
/**
* Factory to create the predicate.
* <p>
@@ -100,7 +100,7 @@ public final class AllPredicate<T> exten
/**
* Evaluates the predicate returning true if all predicates return true.
- *
+ *
* @param object the input object
* @return true if all decorated predicates return true
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/CatchAndRethrowClosure.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/CatchAndRethrowClosure.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/CatchAndRethrowClosure.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/CatchAndRethrowClosure.java Tue Apr 30 19:49:02 2013
@@ -22,17 +22,17 @@ import org.apache.commons.collections4.F
/**
* {@link Closure} that catches any checked exception and re-throws it as a
* {@link FunctorException} runtime exception. Example usage:
- *
+ *
* <pre>
* // Create a catch and re-throw closure via anonymous subclass
* CatchAndRethrowClosure<String> writer = new ThrowingClosure() {
* private java.io.Writer out = // some writer
- *
+ *
* protected void executeAndThrow(String input) throws IOException {
* out.write(input); // throwing of IOException allowed
* }
* };
- *
+ *
* // use catch and re-throw closure
* java.util.List<String> strList = // some list
* try {
@@ -42,7 +42,7 @@ import org.apache.commons.collections4.F
* // handle error
* }
* </pre>
- *
+ *
* @since 4.0
* @version $Id$
*/
@@ -50,7 +50,7 @@ public abstract class CatchAndRethrowClo
/**
* Execute this closure on the specified input object.
- *
+ *
* @param input the input to execute on
* @throws FunctorException (runtime) if the closure execution resulted in a
* checked exception.
@@ -67,7 +67,7 @@ public abstract class CatchAndRethrowClo
/**
* Execute this closure on the specified input object.
- *
+ *
* @param input the input to execute on
* @throws Throwable if the closure execution resulted in a checked
* exception.
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ChainedClosure.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ChainedClosure.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ChainedClosure.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ChainedClosure.java Tue Apr 30 19:49:02 2013
@@ -37,7 +37,7 @@ public class ChainedClosure<E> implement
/**
* Factory method that performs validation and copies the parameter array.
- *
+ *
* @param <E> the type that the closure acts on
* @param closures the closures to chain, copied, no nulls
* @return the <code>chained</code> closure
@@ -53,10 +53,10 @@ public class ChainedClosure<E> implement
}
/**
- * Create a new Closure that calls each closure in turn, passing the
+ * Create a new Closure that calls each closure in turn, passing the
* result into the next closure. The ordering is that of the iterator()
* method on the collection.
- *
+ *
* @param <E> the type that the closure acts on
* @param closures a collection of closures to chain
* @return the <code>chained</code> closure
@@ -84,7 +84,7 @@ public class ChainedClosure<E> implement
/**
* Constructor that performs no validation.
* Use <code>chainedClosure</code> if you want that.
- *
+ *
* @param closures the closures to chain, not copied, no nulls
*/
public ChainedClosure(final Closure<? super E>[] closures) {
@@ -94,7 +94,7 @@ public class ChainedClosure<E> implement
/**
* Execute a list of closures.
- *
+ *
* @param input the input object passed to each closure
*/
public void execute(final E input) {
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ChainedTransformer.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ChainedTransformer.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ChainedTransformer.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ChainedTransformer.java Tue Apr 30 19:49:02 2013
@@ -54,9 +54,9 @@ public class ChainedTransformer<T> imple
}
return new ChainedTransformer<T>(FunctorUtils.copy(transformers));
}
-
+
/**
- * Create a new Transformer that calls each transformer in turn, passing the
+ * Create a new Transformer that calls each transformer in turn, passing the
* result into the next transformer. The ordering is that of the iterator()
* method on the collection.
*
@@ -83,7 +83,7 @@ public class ChainedTransformer<T> imple
/**
* Constructor that performs no validation.
* Use <code>chainedTransformer</code> if you want that.
- *
+ *
* @param transformers the transformers to chain, not copied, no nulls
*/
public ChainedTransformer(final Transformer<? super T, ? extends T>[] transformers) {
@@ -93,7 +93,7 @@ public class ChainedTransformer<T> imple
/**
* Transforms the input to result via each decorated transformer
- *
+ *
* @param object the input object passed to the first transformer
* @return the transformed result
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/CloneTransformer.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/CloneTransformer.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/CloneTransformer.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/CloneTransformer.java Tue Apr 30 19:49:02 2013
@@ -57,7 +57,7 @@ public class CloneTransformer<T> impleme
/**
* Transforms the input to result by cloning it.
- *
+ *
* @param input the input object to transform
* @return the transformed result
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ClosureTransformer.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ClosureTransformer.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ClosureTransformer.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ClosureTransformer.java Tue Apr 30 19:49:02 2013
@@ -54,7 +54,7 @@ public class ClosureTransformer<T> imple
/**
* Constructor that performs no validation.
* Use <code>closureTransformer</code> if you want that.
- *
+ *
* @param closure the closure to call, not null
*/
public ClosureTransformer(final Closure<? super T> closure) {
@@ -64,7 +64,7 @@ public class ClosureTransformer<T> imple
/**
* Transforms the input to result by executing a closure.
- *
+ *
* @param input the input object to transform
* @return the transformed result
*/
@@ -75,7 +75,7 @@ public class ClosureTransformer<T> imple
/**
* Gets the closure.
- *
+ *
* @return the closure
* @since 3.1
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ComparatorPredicate.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ComparatorPredicate.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ComparatorPredicate.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ComparatorPredicate.java Tue Apr 30 19:49:02 2013
@@ -157,7 +157,7 @@ public class ComparatorPredicate<T> impl
*
* @see org.apache.commons.collections4.Predicate#evaluate(java.lang.Object)
* @see java.util.Comparator#compare(java.lang.Object first, java.lang.Object second)
- *
+ *
* @param target the target object to compare to
* @return {@code true} if the comparison succeeds according to the selected criterion
* @throws IllegalStateException if the criterion is invalid (really not possible)
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ConstantFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ConstantFactory.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ConstantFactory.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ConstantFactory.java Tue Apr 30 19:49:02 2013
@@ -34,7 +34,7 @@ public class ConstantFactory<T> implemen
/** Serial version UID */
private static final long serialVersionUID = -3520677225766901240L;
-
+
/** Returns null each time */
public static final Factory<Object> NULL_INSTANCE = new ConstantFactory<Object>(null);
@@ -55,11 +55,11 @@ public class ConstantFactory<T> implemen
}
return new ConstantFactory<T>(constantToReturn);
}
-
+
/**
* Constructor that performs no validation.
* Use <code>constantFactory</code> if you want that.
- *
+ *
* @param constantToReturn the constant to return each time
*/
public ConstantFactory(final T constantToReturn) {
@@ -69,7 +69,7 @@ public class ConstantFactory<T> implemen
/**
* Always return constant.
- *
+ *
* @return the stored constant value
*/
public T create() {
@@ -78,7 +78,7 @@ public class ConstantFactory<T> implemen
/**
* Gets the constant.
- *
+ *
* @return the constant
* @since 3.1
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ConstantTransformer.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ConstantTransformer.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ConstantTransformer.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ConstantTransformer.java Tue Apr 30 19:49:02 2013
@@ -34,7 +34,7 @@ public class ConstantTransformer<I, O> i
/** Serial version UID */
private static final long serialVersionUID = 6374440726369055124L;
-
+
/** Returns null each time */
public static final Transformer<Object, Object> NULL_INSTANCE = new ConstantTransformer<Object, Object>(null);
@@ -67,11 +67,11 @@ public class ConstantTransformer<I, O> i
}
return new ConstantTransformer<I, O>(constantToReturn);
}
-
+
/**
* Constructor that performs no validation.
* Use <code>constantTransformer</code> if you want that.
- *
+ *
* @param constantToReturn the constant to return each time
*/
public ConstantTransformer(final O constantToReturn) {
@@ -81,7 +81,7 @@ public class ConstantTransformer<I, O> i
/**
* Transforms the input by ignoring it and returning the stored constant instead.
- *
+ *
* @param input the input object which is ignored
* @return the stored constant
*/
@@ -91,7 +91,7 @@ public class ConstantTransformer<I, O> i
/**
* Gets the constant.
- *
+ *
* @return the constant
* @since 3.1
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/DefaultEquator.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/DefaultEquator.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/DefaultEquator.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/DefaultEquator.java Tue Apr 30 19:49:02 2013
@@ -20,7 +20,7 @@ import java.io.Serializable;
/**
* Default {@link Equator} implementation.
- *
+ *
* @param <T> the types of object this {@link Equator} can evaluate.
* @since 4.0
* @version $Id$
@@ -40,7 +40,7 @@ public class DefaultEquator<T> implement
/**
* Factory returning the typed singleton instance.
- *
+ *
* @param <T> the object type
* @return the singleton instance
*/
@@ -65,7 +65,7 @@ public class DefaultEquator<T> implement
/**
* {@inheritDoc}
- *
+ *
* @return <code>o.hashCode()</code> if <code>o</code> is non-
* <code>null</code>, else {@link #HASHCODE_NULL}.
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/EqualPredicate.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/EqualPredicate.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/EqualPredicate.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/EqualPredicate.java Tue Apr 30 19:49:02 2013
@@ -36,13 +36,13 @@ public final class EqualPredicate<T> imp
/** The value to compare to */
private final T iValue;
-
+
/** The equator to use for comparison */
private final Equator<T> equator;
/**
* Factory to create the predicate.
- *
+ *
* @param <T> the type that the predicate queries
* @param object the object to compare to
* @return the predicate
@@ -57,7 +57,7 @@ public final class EqualPredicate<T> imp
/**
* Factory to create the identity predicate.
- *
+ *
* @param <T> the type that the predicate queries
* @param object the object to compare to
* @param equator the equator to use for comparison
@@ -75,7 +75,7 @@ public final class EqualPredicate<T> imp
/**
* Constructor that performs no validation.
* Use <code>equalPredicate</code> if you want that.
- *
+ *
* @param object the object to compare to
*/
public EqualPredicate(final T object) {
@@ -87,7 +87,7 @@ public final class EqualPredicate<T> imp
/**
* Constructor that performs no validation.
* Use <code>equalPredicate</code> if you want that.
- *
+ *
* @param object the object to compare to
* @param equator the equator to use for comparison
* @since 4.0
@@ -100,7 +100,7 @@ public final class EqualPredicate<T> imp
/**
* Evaluates the predicate returning true if the input equals the stored value.
- *
+ *
* @param object the input object
* @return true if input object equals stored value
*/
@@ -114,7 +114,7 @@ public final class EqualPredicate<T> imp
/**
* Gets the value.
- *
+ *
* @return the value
* @since 3.1
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/Equator.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/Equator.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/Equator.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/Equator.java Tue Apr 30 19:49:02 2013
@@ -11,14 +11,11 @@
package org.apache.commons.collections4.functors;
/**
- * <p>
* An equation function, which determines equality between objects of type T.
- * </p>
* <p>
* It is the functional sibling of {@link java.util.Comparator}; {@link Equator} is to
* {@link Object} as {@link java.util.Comparator} is to {@link java.lang.Comparable}.
- * </p>
- *
+ *
* @param <T> the types of object this {@link Equator} can evaluate.
* @since 4.0
* @version $Id$
@@ -26,7 +23,7 @@ package org.apache.commons.collections4.
public interface Equator<T> {
/**
* Evaluates the two arguments for their equality.
- *
+ *
* @param o1 the first object to be equated.
* @param o2 the second object to be equated.
* @return whether the two objects are equal.
@@ -38,7 +35,7 @@ public interface Equator<T> {
* method. This is used for classes that delegate their {@link Object#equals(Object) equals(Object)} method to an
* Equator (and so must also delegate their {@link Object#hashCode() hashCode()} method), or for implementations
* of {@link org.apache.commons.collections4.map.HashedMap} that use an Equator for the key objects.
- *
+ *
* @param o the object to calculate the hash for.
* @return the hash of the object.
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ExceptionClosure.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ExceptionClosure.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ExceptionClosure.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ExceptionClosure.java Tue Apr 30 19:49:02 2013
@@ -37,7 +37,7 @@ public final class ExceptionClosure<E> i
/**
* Factory returning the singleton instance.
- *
+ *
* @param <E> the type that the closure acts on
* @return the singleton instance
* @since 3.1
@@ -56,7 +56,7 @@ public final class ExceptionClosure<E> i
/**
* Always throw an exception.
- *
+ *
* @param input the input object
* @throws FunctorException always
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ExceptionFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ExceptionFactory.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ExceptionFactory.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ExceptionFactory.java Tue Apr 30 19:49:02 2013
@@ -37,7 +37,7 @@ public final class ExceptionFactory<T> i
/**
* Factory returning the singleton instance.
- *
+ *
* @param <T> the type the factory creates
* @return the singleton instance
* @since 3.1
@@ -56,7 +56,7 @@ public final class ExceptionFactory<T> i
/**
* Always throws an exception.
- *
+ *
* @return never
* @throws FunctorException always
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/FactoryTransformer.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/FactoryTransformer.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/FactoryTransformer.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/FactoryTransformer.java Tue Apr 30 19:49:02 2013
@@ -37,7 +37,7 @@ public class FactoryTransformer<I, O> im
/**
* Factory method that performs validation.
- *
+ *
* @param <I> the input type
* @param <O> the output type
* @param factory the factory to call, not null
@@ -54,7 +54,7 @@ public class FactoryTransformer<I, O> im
/**
* Constructor that performs no validation.
* Use <code>factoryTransformer</code> if you want that.
- *
+ *
* @param factory the factory to call, not null
*/
public FactoryTransformer(final Factory<? extends O> factory) {
@@ -65,7 +65,7 @@ public class FactoryTransformer<I, O> im
/**
* Transforms the input by ignoring the input and returning the result of
* calling the decorated factory.
- *
+ *
* @param input the input object to transform
* @return the transformed result
*/
@@ -75,7 +75,7 @@ public class FactoryTransformer<I, O> im
/**
* Gets the factory.
- *
+ *
* @return the factory
* @since 3.1
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ForClosure.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ForClosure.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ForClosure.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/ForClosure.java Tue Apr 30 19:49:02 2013
@@ -41,7 +41,7 @@ public class ForClosure<E> implements Cl
* <p>
* A null closure or zero count returns the <code>NOPClosure</code>.
* A count of one returns the specified closure.
- *
+ *
* @param <E> the type that the closure acts on
* @param count the number of times to execute the closure
* @param closure the closure to execute, not null
@@ -61,7 +61,7 @@ public class ForClosure<E> implements Cl
/**
* Constructor that performs no validation.
* Use <code>forClosure</code> if you want that.
- *
+ *
* @param count the number of times to execute the closure
* @param closure the closure to execute, not null
*/
@@ -73,7 +73,7 @@ public class ForClosure<E> implements Cl
/**
* Executes the closure <code>count</code> times.
- *
+ *
* @param input the input object
*/
public void execute(final E input) {
@@ -84,7 +84,7 @@ public class ForClosure<E> implements Cl
/**
* Gets the closure.
- *
+ *
* @return the closure
* @since 3.1
*/
@@ -94,7 +94,7 @@ public class ForClosure<E> implements Cl
/**
* Gets the count.
- *
+ *
* @return the count
* @since 3.1
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/IfClosure.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/IfClosure.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/IfClosure.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/IfClosure.java Tue Apr 30 19:49:02 2013
@@ -45,7 +45,7 @@ public class IfClosure<E> implements Clo
* <p>
* This factory creates a closure that performs no action when
* the predicate is false.
- *
+ *
* @param <E> the type that the closure acts on
* @param predicate predicate to switch on
* @param trueClosure closure used if true
@@ -59,7 +59,7 @@ public class IfClosure<E> implements Clo
/**
* Factory method that performs validation.
- *
+ *
* @param <E> the type that the closure acts on
* @param predicate predicate to switch on
* @param trueClosure closure used if true
@@ -85,7 +85,7 @@ public class IfClosure<E> implements Clo
* <p>
* This constructor creates a closure that performs no action when
* the predicate is false.
- *
+ *
* @param predicate predicate to switch on, not null
* @param trueClosure closure used if true, not null
* @since 3.2
@@ -97,7 +97,7 @@ public class IfClosure<E> implements Clo
/**
* Constructor that performs no validation.
* Use <code>ifClosure</code> if you want that.
- *
+ *
* @param predicate predicate to switch on, not null
* @param trueClosure closure used if true, not null
* @param falseClosure closure used if false, not null
@@ -112,7 +112,7 @@ public class IfClosure<E> implements Clo
/**
* Executes the true or false closure according to the result of the predicate.
- *
+ *
* @param input the input object
*/
public void execute(final E input) {
@@ -125,7 +125,7 @@ public class IfClosure<E> implements Clo
/**
* Gets the predicate.
- *
+ *
* @return the predicate
* @since 3.1
*/
@@ -135,7 +135,7 @@ public class IfClosure<E> implements Clo
/**
* Gets the closure called when true.
- *
+ *
* @return the closure
* @since 3.1
*/
@@ -145,7 +145,7 @@ public class IfClosure<E> implements Clo
/**
* Gets the closure called when false.
- *
+ *
* @return the closure
* @since 3.1
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/InstantiateFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/InstantiateFactory.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/InstantiateFactory.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/InstantiateFactory.java Tue Apr 30 19:49:02 2013
@@ -45,7 +45,7 @@ public class InstantiateFactory<T> imple
/**
* Factory method that performs validation.
- *
+ *
* @param <T> the type the factory creates
* @param classToInstantiate the class to instantiate, not null
* @param paramTypes the constructor parameter types, cloned
@@ -73,7 +73,7 @@ public class InstantiateFactory<T> imple
/**
* Constructor that performs no validation.
* Use <code>instantiateFactory</code> if you want that.
- *
+ *
* @param classToInstantiate the class to instantiate
*/
public InstantiateFactory(final Class<T> classToInstantiate) {
@@ -87,7 +87,7 @@ public class InstantiateFactory<T> imple
/**
* Constructor that performs no validation.
* Use <code>instantiateFactory</code> if you want that.
- *
+ *
* @param classToInstantiate the class to instantiate
* @param paramTypes the constructor parameter types, cloned
* @param args the constructor arguments, cloned
@@ -113,7 +113,7 @@ public class InstantiateFactory<T> imple
/**
* Creates an object using the stored constructor.
- *
+ *
* @return the new object
*/
public T create() {
@@ -132,5 +132,5 @@ public class InstantiateFactory<T> imple
throw new FunctorException("InstantiateFactory: Constructor threw an exception", ex);
}
}
-
+
}
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/InvokerTransformer.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/InvokerTransformer.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/InvokerTransformer.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/InvokerTransformer.java Tue Apr 30 19:49:02 2013
@@ -33,7 +33,7 @@ public class InvokerTransformer<I, O> im
/** The serial version */
private static final long serialVersionUID = -8653385846894047688L;
-
+
/** The method name to call */
private final String iMethodName;
/** The array of reflection parameter types */
@@ -43,7 +43,7 @@ public class InvokerTransformer<I, O> im
/**
* Gets an instance of this transformer calling a specific method with no arguments.
- *
+ *
* @param <I> the input type
* @param <O> the output type
* @param methodName the method name to call
@@ -88,7 +88,7 @@ public class InvokerTransformer<I, O> im
/**
* Constructor for no arg instance.
- *
+ *
* @param methodName the method to call
*/
private InvokerTransformer(final String methodName) {
@@ -101,7 +101,7 @@ public class InvokerTransformer<I, O> im
/**
* Constructor that performs no validation.
* Use <code>invokerTransformer</code> if you want that.
- *
+ *
* @param methodName the method to call
* @param paramTypes the constructor parameter types, not cloned
* @param args the constructor arguments, not cloned
@@ -115,7 +115,7 @@ public class InvokerTransformer<I, O> im
/**
* Transforms the input to result by invoking a method on the input.
- *
+ *
* @param input the input object to transform
* @return the transformed result, null if null input
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/NotPredicate.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/NotPredicate.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/NotPredicate.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/NotPredicate.java Tue Apr 30 19:49:02 2013
@@ -30,13 +30,13 @@ public final class NotPredicate<T> imple
/** Serial version UID */
private static final long serialVersionUID = -2654603322338049674L;
-
+
/** The predicate to decorate */
private final Predicate<? super T> iPredicate;
-
+
/**
* Factory to create the not predicate.
- *
+ *
* @param <T> the type that the predicate queries
* @param predicate the predicate to decorate, not null
* @return the predicate
@@ -52,7 +52,7 @@ public final class NotPredicate<T> imple
/**
* Constructor that performs no validation.
* Use <code>notPredicate</code> if you want that.
- *
+ *
* @param predicate the predicate to call after the null check
*/
public NotPredicate(final Predicate<? super T> predicate) {
@@ -62,7 +62,7 @@ public final class NotPredicate<T> imple
/**
* Evaluates the predicate returning the opposite to the stored predicate.
- *
+ *
* @param object the input object
* @return true if predicate returns false
*/
@@ -72,7 +72,7 @@ public final class NotPredicate<T> imple
/**
* Gets the predicate being decorated.
- *
+ *
* @return the predicate as the only element in an array
* @since 3.1
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/NullIsExceptionPredicate.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/NullIsExceptionPredicate.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/NullIsExceptionPredicate.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/NullIsExceptionPredicate.java Tue Apr 30 19:49:02 2013
@@ -31,13 +31,13 @@ public final class NullIsExceptionPredic
/** Serial version UID */
private static final long serialVersionUID = 3243449850504576071L;
-
+
/** The predicate to decorate */
private final Predicate<? super T> iPredicate;
-
+
/**
* Factory to create the null exception predicate.
- *
+ *
* @param <T> the type that the predicate queries
* @param predicate the predicate to decorate, not null
* @return the predicate
@@ -53,7 +53,7 @@ public final class NullIsExceptionPredic
/**
* Constructor that performs no validation.
* Use <code>nullIsExceptionPredicate</code> if you want that.
- *
+ *
* @param predicate the predicate to call after the null check
*/
public NullIsExceptionPredicate(final Predicate<? super T> predicate) {
@@ -64,7 +64,7 @@ public final class NullIsExceptionPredic
/**
* Evaluates the predicate returning the result of the decorated predicate
* once a null check is performed.
- *
+ *
* @param object the input object
* @return true if decorated predicate returns true
* @throws FunctorException if input is null
@@ -78,7 +78,7 @@ public final class NullIsExceptionPredic
/**
* Gets the predicate being decorated.
- *
+ *
* @return the predicate as the only element in an array
* @since 3.1
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/NullIsTruePredicate.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/NullIsTruePredicate.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/NullIsTruePredicate.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/NullIsTruePredicate.java Tue Apr 30 19:49:02 2013
@@ -30,13 +30,13 @@ public final class NullIsTruePredicate<T
/** Serial version UID */
private static final long serialVersionUID = -7625133768987126273L;
-
+
/** The predicate to decorate */
private final Predicate<? super T> iPredicate;
-
+
/**
* Factory to create the null true predicate.
- *
+ *
* @param <T> the type that the predicate queries
* @param predicate the predicate to decorate, not null
* @return the predicate
@@ -52,7 +52,7 @@ public final class NullIsTruePredicate<T
/**
* Constructor that performs no validation.
* Use <code>nullIsTruePredicate</code> if you want that.
- *
+ *
* @param predicate the predicate to call after the null check
*/
public NullIsTruePredicate(final Predicate<? super T> predicate) {
@@ -63,7 +63,7 @@ public final class NullIsTruePredicate<T
/**
* Evaluates the predicate returning the result of the decorated predicate
* once a null check is performed.
- *
+ *
* @param object the input object
* @return true if decorated predicate returns true or input is null
*/
@@ -76,7 +76,7 @@ public final class NullIsTruePredicate<T
/**
* Gets the predicate being decorated.
- *
+ *
* @return the predicate as the only element in an array
* @since 3.1
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/OnePredicate.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/OnePredicate.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/OnePredicate.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/OnePredicate.java Tue Apr 30 19:49:02 2013
@@ -36,7 +36,7 @@ public final class OnePredicate<T> exten
/** Serial version UID */
private static final long serialVersionUID = -8125389089924745785L;
-
+
/**
* Factory to create the predicate.
* <p>
@@ -78,7 +78,7 @@ public final class OnePredicate<T> exten
/**
* Constructor that performs no validation.
* Use <code>onePredicate</code> if you want that.
- *
+ *
* @param predicates the predicates to check, not cloned, not null
*/
public OnePredicate(final Predicate<? super T>[] predicates) {
@@ -88,7 +88,7 @@ public final class OnePredicate<T> exten
/**
* Evaluates the predicate returning true if only one decorated predicate
* returns true.
- *
+ *
* @param object the input object
* @return true if only one decorated predicate returns true
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/PredicateDecorator.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/PredicateDecorator.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/PredicateDecorator.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/PredicateDecorator.java Tue Apr 30 19:49:02 2013
@@ -33,7 +33,7 @@ public interface PredicateDecorator<T> e
* <p>
* The array may be the internal data structure of the predicate and thus
* should not be altered.
- *
+ *
* @return the predicates being decorated
*/
Predicate<? super T>[] getPredicates();
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/PredicateTransformer.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/PredicateTransformer.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/PredicateTransformer.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/PredicateTransformer.java Tue Apr 30 19:49:02 2013
@@ -38,7 +38,7 @@ public class PredicateTransformer<T> imp
/**
* Factory method that performs validation.
- *
+ *
* @param <T> the input type
* @param predicate the predicate to call, not null
* @return the <code>predicate</code> transformer
@@ -54,7 +54,7 @@ public class PredicateTransformer<T> imp
/**
* Constructor that performs no validation.
* Use <code>predicateTransformer</code> if you want that.
- *
+ *
* @param predicate the predicate to call, not null
*/
public PredicateTransformer(final Predicate<? super T> predicate) {
@@ -64,7 +64,7 @@ public class PredicateTransformer<T> imp
/**
* Transforms the input to result by calling a predicate.
- *
+ *
* @param input the input object to transform
* @return the transformed result
*/
@@ -74,7 +74,7 @@ public class PredicateTransformer<T> imp
/**
* Gets the predicate.
- *
+ *
* @return the predicate
* @since 3.1
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/PrototypeFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/PrototypeFactory.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/PrototypeFactory.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/PrototypeFactory.java Tue Apr 30 19:49:02 2013
@@ -92,10 +92,10 @@ public class PrototypeFactory {
* PrototypeCloneFactory creates objects by copying a prototype using the clone method.
*/
static class PrototypeCloneFactory<T> implements Factory<T>, Serializable {
-
+
/** The serial version */
private static final long serialVersionUID = 5604271422565175555L;
-
+
/** The object to clone each time */
private final T iPrototype;
/** The method used to clone */
@@ -123,7 +123,7 @@ public class PrototypeFactory {
/**
* Creates an object by calling the clone method.
- *
+ *
* @return the new object
*/
@SuppressWarnings("unchecked")
@@ -149,10 +149,10 @@ public class PrototypeFactory {
* PrototypeSerializationFactory creates objects by cloning a prototype using serialization.
*/
static class PrototypeSerializationFactory<T extends Serializable> implements Factory<T>, Serializable {
-
+
/** The serial version */
private static final long serialVersionUID = -8704966966139178833L;
-
+
/** The object to clone via serialization each time */
private final T iPrototype;
@@ -166,7 +166,7 @@ public class PrototypeFactory {
/**
* Creates an object using serialization.
- *
+ *
* @return the new object
*/
@SuppressWarnings("unchecked")
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/SwitchTransformer.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/SwitchTransformer.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/SwitchTransformer.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/SwitchTransformer.java Tue Apr 30 19:49:02 2013
@@ -43,7 +43,7 @@ public class SwitchTransformer<I, O> imp
/**
* Factory method that performs validation and copies the parameter arrays.
- *
+ *
* @param <I> the input type
* @param <O> the output type
* @param predicates array of predicates, cloned, no nulls
@@ -72,16 +72,16 @@ public class SwitchTransformer<I, O> imp
}
/**
- * Create a new Transformer that calls one of the transformers depending
- * on the predicates.
+ * Create a new Transformer that calls one of the transformers depending
+ * on the predicates.
* <p>
- * The Map consists of Predicate keys and Transformer values. A transformer
+ * The Map consists of Predicate keys and Transformer values. A transformer
* is called if its matching predicate returns true. Each predicate is evaluated
* until one returns true. If no predicates evaluate to true, the default
- * transformer is called. The default transformer is set in the map with a
- * null key. The ordering is that of the iterator() method on the entryset
+ * transformer is called. The default transformer is set in the map with a
+ * null key. The ordering is that of the iterator() method on the entryset
* collection of the map.
- *
+ *
* @param <I> the input type
* @param <O> the output type
* @param map a map of predicates to transformers
@@ -118,11 +118,11 @@ public class SwitchTransformer<I, O> imp
}
return new SwitchTransformer<I, O>(preds, transformers, defaultTransformer);
}
-
+
/**
* Constructor that performs no validation.
* Use <code>switchTransformer</code> if you want that.
- *
+ *
* @param predicates array of predicates, not cloned, no nulls
* @param transformers matching array of transformers, not cloned, no nulls
* @param defaultTransformer the transformer to use if no match, null means return null
@@ -141,7 +141,7 @@ public class SwitchTransformer<I, O> imp
/**
* Transforms the input to result by calling the transformer whose matching
* predicate returns true.
- *
+ *
* @param input the input object to transform
* @return the transformed result
*/
@@ -156,7 +156,7 @@ public class SwitchTransformer<I, O> imp
/**
* Gets the predicates.
- *
+ *
* @return a copy of the predicates
* @since 3.1
*/
@@ -166,7 +166,7 @@ public class SwitchTransformer<I, O> imp
/**
* Gets the transformers.
- *
+ *
* @return a copy of the transformers
* @since 3.1
*/
@@ -176,7 +176,7 @@ public class SwitchTransformer<I, O> imp
/**
* Gets the default transformer.
- *
+ *
* @return the default transformer
* @since 3.1
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/TransformerClosure.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/TransformerClosure.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/TransformerClosure.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/TransformerClosure.java Tue Apr 30 19:49:02 2013
@@ -40,7 +40,7 @@ public class TransformerClosure<E> imple
* Factory method that performs validation.
* <p>
* A null transformer will return the <code>NOPClosure</code>.
- *
+ *
* @param <E> the type that the closure acts on
* @param transformer the transformer to call, null means nop
* @return the <code>transformer</code> closure
@@ -55,7 +55,7 @@ public class TransformerClosure<E> imple
/**
* Constructor that performs no validation.
* Use <code>transformerClosure</code> if you want that.
- *
+ *
* @param transformer the transformer to call, not null
*/
public TransformerClosure(final Transformer<? super E, ?> transformer) {
@@ -65,7 +65,7 @@ public class TransformerClosure<E> imple
/**
* Executes the closure by calling the decorated transformer.
- *
+ *
* @param input the input object
*/
public void execute(final E input) {
@@ -74,7 +74,7 @@ public class TransformerClosure<E> imple
/**
* Gets the transformer.
- *
+ *
* @return the transformer
* @since 3.1
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/WhileClosure.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/WhileClosure.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/WhileClosure.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/WhileClosure.java Tue Apr 30 19:49:02 2013
@@ -42,7 +42,7 @@ public class WhileClosure<E> implements
/**
* Factory method that performs validation.
- *
+ *
* @param <E> the type that the closure acts on
* @param predicate the predicate used to evaluate when the loop terminates, not null
* @param closure the closure the execute, not null
@@ -64,7 +64,7 @@ public class WhileClosure<E> implements
/**
* Constructor that performs no validation.
* Use <code>whileClosure</code> if you want that.
- *
+ *
* @param predicate the predicate used to evaluate when the loop terminates, not null
* @param closure the closure the execute, not null
* @param doLoop true to act as a do-while loop, always executing the closure once
@@ -78,7 +78,7 @@ public class WhileClosure<E> implements
/**
* Executes the closure until the predicate is false.
- *
+ *
* @param input the input object
*/
public void execute(final E input) {
@@ -92,7 +92,7 @@ public class WhileClosure<E> implements
/**
* Gets the predicate in use.
- *
+ *
* @return the predicate
* @since 3.1
*/
@@ -102,7 +102,7 @@ public class WhileClosure<E> implements
/**
* Gets the closure.
- *
+ *
* @return the closure
* @since 3.1
*/
@@ -112,7 +112,7 @@ public class WhileClosure<E> implements
/**
* Is the loop a do-while loop.
- *
+ *
* @return true is do-while, false if while
* @since 3.1
*/
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/package-info.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/package-info.java?rev=1477798&r1=1477797&r2=1477798&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/package-info.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/package-info.java Tue Apr 30 19:49:02 2013
@@ -21,7 +21,7 @@
* {@link org.apache.commons.collections4.Transformer Transformer} and
* {@link org.apache.commons.collections4.Factory Factory} interfaces.
* These provide simple callbacks for processing with collections.
- *
+ *
* @version $Id$
*/
package org.apache.commons.collections4.functors;