commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1155566 - in /commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor: adapter/ core/ core/algorithm/ core/collection/ core/comparator/ core/composite/
Date Tue, 09 Aug 2011 21:17:06 GMT
Author: simonetripodi
Date: Tue Aug  9 21:17:05 2011
New Revision: 1155566

URL: http://svn.apache.org/viewvc?rev=1155566&view=rev
Log:
fixed checkstyle violations: tabs character and trailing spaces

Modified:
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionBinaryPredicate.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionUnaryFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryPredicateUnaryPredicate.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryProcedureUnaryProcedure.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/UnaryFunctionUnaryPredicate.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsInstance.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/RightIdentity.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/FindWithinGenerator.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/IndexOfInGenerator.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/collection/TransformedIterator.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/Max.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/And.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/BaseBinaryPredicateList.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalUnaryProcedure.java

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionBinaryPredicate.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionBinaryPredicate.java?rev=1155566&r1=1155565&r2=1155566&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionBinaryPredicate.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionBinaryPredicate.java
Tue Aug  9 21:17:05 2011
@@ -53,7 +53,7 @@ public final class BinaryFunctionBinaryP
      * non-<code>null</code> <code>Boolean</code> returned by the
      * {@link BinaryFunction#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
@@ -104,7 +104,7 @@ public final class BinaryFunctionBinaryP
      * BinaryFunction} to the {@link BinaryPredicate BinaryPredicate} interface.
      * When the given <code>BinaryFunction</code> is <code>null</code>,
returns
      * <code>null</code>.
-     * 
+     *
      * @param <L> left type
      * @param <R> right type
      * @param <T> result type

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionUnaryFunction.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionUnaryFunction.java?rev=1155566&r1=1155565&r2=1155566&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionUnaryFunction.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionUnaryFunction.java
Tue Aug  9 21:17:05 2011
@@ -40,7 +40,6 @@ public final class BinaryFunctionUnaryFu
     }
 
     /**
-     * 
      * {@inheritDoc}
      */
     public T evaluate(A obj) {

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryPredicateUnaryPredicate.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryPredicateUnaryPredicate.java?rev=1155566&r1=1155565&r2=1155566&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryPredicateUnaryPredicate.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryPredicateUnaryPredicate.java
Tue Aug  9 21:17:05 2011
@@ -57,9 +57,9 @@ public final class BinaryPredicateUnaryP
     /**
      * Learn whether another BinaryPredicateUnaryPredicate is equal to
      * <code>this</code>.
-     * 
+     *
      * @param that BinaryPredicateUnaryPredicate to check
-     * 
+     *
      * @return whether equal
      */
     public boolean equals(BinaryPredicateUnaryPredicate<?> that) {

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryProcedureUnaryProcedure.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryProcedureUnaryProcedure.java?rev=1155566&r1=1155565&r2=1155566&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryProcedureUnaryProcedure.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryProcedureUnaryProcedure.java
Tue Aug  9 21:17:05 2011
@@ -57,9 +57,9 @@ public final class BinaryProcedureUnaryP
     /**
      * Learn whether another BinaryProcedureUnaryProcedure is equal to
      * <code>this</code>.
-     * 
+     *
      * @param that BinaryProcedureUnaryProcedure to check
-     * 
+     *
      * @return whether equal
      */
     public boolean equals(BinaryProcedureUnaryProcedure<?> that) {

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=1155566&r1=1155565&r2=1155566&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
Tue Aug  9 21:17:05 2011
@@ -102,7 +102,6 @@ public final class UnaryFunctionUnaryPre
     }
 
     /**
-     * 
      * Adapt the given, possibly-<code>null</code>,
      * {@link UnaryFunction UnaryFunction} to the
      * {@link UnaryPredicate UnaryPredicate} interface.

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsInstance.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsInstance.java?rev=1155566&r1=1155565&r2=1155566&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsInstance.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsInstance.java
Tue Aug  9 21:17:05 2011
@@ -78,7 +78,7 @@ public final class IsInstance<T> impleme
     }
 
     /**
-     * Get an IsInstanceOf UnaryPredicate. 
+     * Get an IsInstanceOf UnaryPredicate.
      * @param <T>
      * @param clazz bound right-side argument
      * @return UnaryPredicate<T>

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/RightIdentity.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/RightIdentity.java?rev=1155566&r1=1155565&r2=1155566&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/RightIdentity.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/RightIdentity.java
Tue Aug  9 21:17:05 2011
@@ -65,7 +65,7 @@ public final class RightIdentity {
     }
 
     /**
-     * Get a typed right-identity BinaryPredicate. 
+     * Get a typed right-identity BinaryPredicate.
      * @param <L>
      * @return BinaryPredicate<L, Boolean>
      */

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/FindWithinGenerator.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/FindWithinGenerator.java?rev=1155566&r1=1155565&r2=1155566&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/FindWithinGenerator.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/FindWithinGenerator.java
Tue Aug  9 21:17:05 2011
@@ -123,7 +123,7 @@ public final class FindWithinGenerator<E
         if (!this.useIfNone) {
             return System.identityHashCode(INSTANCE);
         }
-        int result = "FindWithinGenerator".hashCode(); 
+        int result = "FindWithinGenerator".hashCode();
         result ^= this.ifNone == null ? 0 : this.ifNone.hashCode();
         return result;
     }

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/IndexOfInGenerator.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/IndexOfInGenerator.java?rev=1155566&r1=1155565&r2=1155566&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/IndexOfInGenerator.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/algorithm/IndexOfInGenerator.java
Tue Aug  9 21:17:05 2011
@@ -67,7 +67,7 @@ public final class IndexOfInGenerator<T>
      * @param right UnaryPredicate
      */
     public Number evaluate(Generator<? extends T> left, UnaryPredicate<? super T>
right) {
-        IndexProcedure findProcedure = new IndexProcedure(left, right); 
+        IndexProcedure findProcedure = new IndexProcedure(left, right);
         left.run(findProcedure);
         return findProcedure.index;
     }

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/collection/TransformedIterator.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/collection/TransformedIterator.java?rev=1155566&r1=1155565&r2=1155566&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/collection/TransformedIterator.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/collection/TransformedIterator.java
Tue Aug  9 21:17:05 2011
@@ -135,5 +135,5 @@ public final class TransformedIterator<E
     public static <E> Iterator<?> maybeTransform(Iterator<? extends E>
iter, UnaryFunction<? super E, ?> func) {
         return null == func ? (null == iter ? null : iter) : new TransformedIterator<E,
Object>(iter, func);
     }
-    
+
 }

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/Max.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/Max.java?rev=1155566&r1=1155565&r2=1155566&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/Max.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/Max.java
Tue Aug  9 21:17:05 2011
@@ -42,7 +42,7 @@ public final class Max<T> implements Bin
      * Create a new Max.
      */
     @SuppressWarnings("unchecked")
-    public Max() { 
+    public Max() {
         this(ComparableComparator.instance());
     }
 

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/And.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/And.java?rev=1155566&r1=1155565&r2=1155566&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/And.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/And.java
Tue Aug  9 21:17:05 2011
@@ -38,7 +38,7 @@ public final class And extends BasePredi
 
     // constructor
     // ------------------------------------------------------------------------
-    
+
     /**
      * Create a new And.
      */

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/BaseBinaryPredicateList.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/BaseBinaryPredicateList.java?rev=1155566&r1=1155565&r2=1155566&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/BaseBinaryPredicateList.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/BaseBinaryPredicateList.java
Tue Aug  9 21:17:05 2011
@@ -78,7 +78,7 @@ abstract class BaseBinaryPredicateList<L
             }
         }
     }
-    
+
     // abstract
     // ------------------------------------------------------------------------
     /**

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalUnaryProcedure.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalUnaryProcedure.java?rev=1155566&r1=1155565&r2=1155566&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalUnaryProcedure.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalUnaryProcedure.java
Tue Aug  9 21:17:05 2011
@@ -56,8 +56,8 @@ public final class ConditionalUnaryProce
      * @param thenProc then
      */
     public ConditionalUnaryProcedure(UnaryPredicate<? super A> ifPred, UnaryProcedure<?
super A> thenProc) {
-    	this(ifPred, thenProc, NoOp.instance());
-	}
+        this(ifPred, thenProc, NoOp.instance());
+    }
 
     /**
      * Create a new ConditionalUnaryProcedure.



Mime
View raw message