commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1156349 - in /commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core: ./ algorithm/ collection/ comparator/
Date Wed, 10 Aug 2011 20:21:15 GMT
Author: simonetripodi
Date: Wed Aug 10 20:21:14 2011
New Revision: 1156349

URL: http://svn.apache.org/viewvc?rev=1156349&view=rev
Log:
fixed checksyle violation: Variable access definition in wrong order.

Modified:
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/Constant.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/Identity.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsEqual.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/IsNotEqual.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNotNull.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNotSame.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNull.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsSame.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/NoOp.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/collection/IsEmpty.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/ComparableComparator.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/ComparatorFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsEquivalent.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsGreaterThan.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsGreaterThanOrEqual.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsLessThan.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsLessThanOrEqual.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsNotEquivalent.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/comparator/Min.java

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/Constant.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/Constant.java?rev=1156349&r1=1156348&r2=1156349&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/Constant.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/Constant.java
Wed Aug 10 20:21:14 2011
@@ -44,11 +44,6 @@ import org.apache.commons.functor.UnaryP
 public final class Constant<T> implements Function<T>, UnaryFunction<Object,
T>, BinaryFunction<Object, Object, T>,
         Predicate, UnaryPredicate<Object>, BinaryPredicate<Object, Object>, Serializable
{
 
-    /**
-     * serialVersionUID declaration.
-     */
-    private static final long serialVersionUID = -8754373778528773039L;
-
     // static attributes
     // ------------------------------------------------------------------------
     /**
@@ -61,6 +56,11 @@ public final class Constant<T> implement
      */
     public static final Constant<Boolean> FALSE = Constant.of(false);
 
+    /**
+     * serialVersionUID declaration.
+     */
+    private static final long serialVersionUID = -8754373778528773039L;
+
     // attributes
     // ------------------------------------------------------------------------
     private final T value;

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/Identity.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/Identity.java?rev=1156349&r1=1156348&r2=1156349&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/Identity.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/Identity.java
Wed Aug 10 20:21:14 2011
@@ -34,14 +34,14 @@ import org.apache.commons.functor.UnaryP
  * @author Rodney Waldhoff
  */
 public final class Identity<T> implements UnaryFunction<T, T>, UnaryPredicate<T>,
Serializable {
+    // static attributes
+    // ------------------------------------------------------------------------
+    public static final Identity<Object> INSTANCE = new Identity<Object>();
 
     /**
      * serialVersionUID declaration.
      */
     private static final long serialVersionUID = 4145504259013789494L;
-    // static attributes
-    // ------------------------------------------------------------------------
-    public static final Identity<Object> INSTANCE = new Identity<Object>();
 
     // constructor
     // ------------------------------------------------------------------------

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsEqual.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsEqual.java?rev=1156349&r1=1156348&r2=1156349&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsEqual.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsEqual.java
Wed Aug 10 20:21:14 2011
@@ -38,16 +38,16 @@ import org.apache.commons.functor.adapte
  * @author Rodney Waldhoff
  */
 public final class IsEqual<L, R> implements BinaryPredicate<L, R>, Serializable
{
-    /**
-     * serialVersionUID declaration.
-     */
-    private static final long serialVersionUID = -6777016236280121159L;
     // static attributes
     // ------------------------------------------------------------------------
     /**
      * Basic IsEqual<Object, Object> instance.
      */
     public static final IsEqual<Object, Object> INSTANCE = IsEqual.<Object, Object>instance();
+    /**
+     * serialVersionUID declaration.
+     */
+    private static final long serialVersionUID = -6777016236280121159L;
 
     // constructor
     // ------------------------------------------------------------------------

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=1156349&r1=1156348&r2=1156349&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
Wed Aug 10 20:21:14 2011
@@ -33,13 +33,13 @@ import org.apache.commons.functor.adapte
  */
 public final class IsInstance<T> implements BinaryPredicate<T, Class<?>>,
Serializable {
     /**
-     * serialVersionUID declaration.
-     */
-    private static final long serialVersionUID = 9104265415387129627L;
-    /**
      * Basic IsInstanceOf instance.
      */
     public static final IsInstance<Object> INSTANCE = IsInstance.<Object>instance();
+    /**
+     * serialVersionUID declaration.
+     */
+    private static final long serialVersionUID = 9104265415387129627L;
 
     // predicate interface
     // ------------------------------------------------------------------------

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNotEqual.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNotEqual.java?rev=1156349&r1=1156348&r2=1156349&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNotEqual.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNotEqual.java
Wed Aug 10 20:21:14 2011
@@ -35,16 +35,16 @@ import org.apache.commons.functor.adapte
  * @author Rodney Waldhoff
  */
 public final class IsNotEqual<L, R> implements BinaryPredicate<L, R>, Serializable
{
-    /**
-     * serialVersionUID declaration.
-     */
-    private static final long serialVersionUID = -7303588338955281317L;
     // static attributes
     // ------------------------------------------------------------------------
     /**
      * Basic IsNotEqual<Object, Object> instance.
      */
     public static final IsNotEqual<Object, Object> INSTANCE = IsNotEqual.<Object,
Object>instance();
+    /**
+     * serialVersionUID declaration.
+     */
+    private static final long serialVersionUID = -7303588338955281317L;
 
     // constructor
     // ------------------------------------------------------------------------

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNotNull.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNotNull.java?rev=1156349&r1=1156348&r2=1156349&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNotNull.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNotNull.java
Wed Aug 10 20:21:14 2011
@@ -32,10 +32,6 @@ import org.apache.commons.functor.adapte
  * @author Rodney Waldhoff
  */
 public final class IsNotNull<T> implements UnaryPredicate<T>, Serializable {
-    /**
-     * serialVersionUID declaration.
-     */
-    private static final long serialVersionUID = -6856387958371590330L;
 
     // static attributes
     // ------------------------------------------------------------------------
@@ -54,6 +50,11 @@ public final class IsNotNull<T> implemen
      */
     public static final BinaryPredicate<Object, Object> RIGHT = IsNotNull.<Object>right();
 
+    /**
+     * serialVersionUID declaration.
+     */
+    private static final long serialVersionUID = -6856387958371590330L;
+
     // constructor
     // ------------------------------------------------------------------------
     /**

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNotSame.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNotSame.java?rev=1156349&r1=1156348&r2=1156349&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNotSame.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNotSame.java
Wed Aug 10 20:21:14 2011
@@ -29,16 +29,16 @@ import org.apache.commons.functor.adapte
  * @author Matt Benson
  */
 public final class IsNotSame<L, R> implements BinaryPredicate<L, R>, Serializable
{
-    /**
-     * serialVersionUID declaration.
-     */
-    private static final long serialVersionUID = 5566555980860979281L;
     // static attributes
     // ------------------------------------------------------------------------
     /**
      * Basic IsNotSame<Object, Object> instance.
      */
     public static final IsNotSame<Object, Object> INSTANCE = IsNotSame.<Object,
Object>instance();
+    /**
+     * serialVersionUID declaration.
+     */
+    private static final long serialVersionUID = 5566555980860979281L;
 
     // constructor
     // ------------------------------------------------------------------------

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNull.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNull.java?rev=1156349&r1=1156348&r2=1156349&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNull.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNull.java
Wed Aug 10 20:21:14 2011
@@ -32,10 +32,6 @@ import org.apache.commons.functor.adapte
  * @author Rodney Waldhoff
  */
 public final class IsNull<A> implements UnaryPredicate<A>, Serializable {
-    /**
-     * serialVersionUID declaration.
-     */
-    private static final long serialVersionUID = 6001380107746171952L;
 
     // static attributes
     // ------------------------------------------------------------------------
@@ -54,6 +50,11 @@ public final class IsNull<A> implements 
      */
     public static final BinaryPredicate<Object, Object> RIGHT = IsNull.<Object>right();
 
+    /**
+     * serialVersionUID declaration.
+     */
+    private static final long serialVersionUID = 6001380107746171952L;
+
     // constructor
     // ------------------------------------------------------------------------
     /**

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsSame.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsSame.java?rev=1156349&r1=1156348&r2=1156349&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsSame.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsSame.java
Wed Aug 10 20:21:14 2011
@@ -29,16 +29,16 @@ import org.apache.commons.functor.adapte
  * @author Matt Benson
  */
 public final class IsSame<L, R> implements BinaryPredicate<L, R>, Serializable
{
-    /**
-     * serialVersionUID declaration.
-     */
-    private static final long serialVersionUID = 7024585699909734072L;
     // static attributes
     // ------------------------------------------------------------------------
     /**
      * Basic IsSame<Object, Object> instance.
      */
     public static final IsSame<Object, Object> INSTANCE = IsSame.<Object, Object>instance();
+    /**
+     * serialVersionUID declaration.
+     */
+    private static final long serialVersionUID = 7024585699909734072L;
 
     // constructor
     // ------------------------------------------------------------------------

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/NoOp.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/NoOp.java?rev=1156349&r1=1156348&r2=1156349&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/NoOp.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/NoOp.java
Wed Aug 10 20:21:14 2011
@@ -32,16 +32,16 @@ import org.apache.commons.functor.UnaryP
  * @author Rodney Waldhoff
  */
 public final class NoOp implements Procedure, UnaryProcedure<Object>, BinaryProcedure<Object,
Object>, Serializable {
-    /**
-     * serialVersionUID declaration.
-     */
-    private static final long serialVersionUID = 3768926349922273291L;
     // static attributes
     // ------------------------------------------------------------------------
     /**
      * Basic NoOp instance.
      */
     public static final NoOp INSTANCE = new NoOp();
+    /**
+     * serialVersionUID declaration.
+     */
+    private static final long serialVersionUID = 3768926349922273291L;
 
     // constructor
     // ------------------------------------------------------------------------

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=1156349&r1=1156348&r2=1156349&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
Wed Aug 10 20:21:14 2011
@@ -31,16 +31,18 @@ import org.apache.commons.functor.genera
  */
 public final class FindWithinGenerator<E>
     implements BinaryFunction<Generator<? extends E>, UnaryPredicate<? super
E>, E>, Serializable {
-    /**
-     * serialVersionUID declaration.
-     */
-    private static final long serialVersionUID = -2824239991638326134L;
+
     /**
      * Basic instance.
      */
     public static final FindWithinGenerator<Object> INSTANCE = new FindWithinGenerator<Object>();
 
     /**
+     * serialVersionUID declaration.
+     */
+    private static final long serialVersionUID = -2824239991638326134L;
+
+    /**
      * Helper procedure.
      */
     private static class FindProcedure<T> implements UnaryProcedure<T> {

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/collection/IsEmpty.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/collection/IsEmpty.java?rev=1156349&r1=1156348&r2=1156349&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/collection/IsEmpty.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/collection/IsEmpty.java
Wed Aug 10 20:21:14 2011
@@ -33,14 +33,15 @@ public final class IsEmpty<A> implements
     // ------------------------------------------------------------------------
 
     /**
-     * serialVersionUID declaration.
-     */
-    private static final long serialVersionUID = 6555097970639642373L;
-    /**
      * Basic IsEmpty instance.
      */
     public static final IsEmpty<Object> INSTANCE = new IsEmpty<Object>();
 
+    /**
+     * serialVersionUID declaration.
+     */
+    private static final long serialVersionUID = 6555097970639642373L;
+
     // constructor
     // ------------------------------------------------------------------------
     /**

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/ComparableComparator.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/ComparableComparator.java?rev=1156349&r1=1156348&r2=1156349&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/ComparableComparator.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/ComparableComparator.java
Wed Aug 10 20:21:14 2011
@@ -28,12 +28,14 @@ import java.util.Comparator;
  */
 @SuppressWarnings({ "unchecked", "rawtypes" })
 final class ComparableComparator implements Comparator, Serializable {
+
+    /** Singleton */
+    public static final ComparableComparator INSTANCE = new ComparableComparator();
+
     /**
      * serialVersionUID declaration.
      */
     private static final long serialVersionUID = -5849476573719561212L;
-    /** Singleton */
-    public static final ComparableComparator INSTANCE = new ComparableComparator();
 
     /**
      * Create a new ComparableComparator.

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/ComparatorFunction.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/ComparatorFunction.java?rev=1156349&r1=1156348&r2=1156349&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/ComparatorFunction.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/ComparatorFunction.java
Wed Aug 10 20:21:14 2011
@@ -29,16 +29,17 @@ import org.apache.commons.functor.Binary
  * @author Rodney Waldhoff
  */
 public final class ComparatorFunction<T> implements BinaryFunction<T, T, Integer>,
Serializable {
-    /**
-     * serialVersionUID declaration.
-     */
-    private static final long serialVersionUID = 1642024869929206095L;
 
     /**
      * Basic ComparatorFunction instance.
      */
     public static final ComparatorFunction<Comparable<?>> INSTANCE = ComparatorFunction.<Comparable<?>>instance();
 
+    /**
+     * serialVersionUID declaration.
+     */
+    private static final long serialVersionUID = 1642024869929206095L;
+
     private final Comparator<? super T> comparator;
 
     /**

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsEquivalent.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsEquivalent.java?rev=1156349&r1=1156348&r2=1156349&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsEquivalent.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsEquivalent.java
Wed Aug 10 20:21:14 2011
@@ -37,16 +37,17 @@ import org.apache.commons.functor.adapte
  *
  */
 public final class IsEquivalent<T> implements BinaryPredicate<T, T>, Serializable
{
-    /**
-     * serialVersionUID declaration.
-     */
-    private static final long serialVersionUID = -6392784113015793664L;
 
     /**
      * Basic IsEquivalent instance.
      */
     public static final IsEquivalent<Comparable<?>> INSTANCE = IsEquivalent.<Comparable<?>>
instance();
 
+    /**
+     * serialVersionUID declaration.
+     */
+    private static final long serialVersionUID = -6392784113015793664L;
+
     private final Comparator<? super T> comparator;
 
     /**

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsGreaterThan.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsGreaterThan.java?rev=1156349&r1=1156348&r2=1156349&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsGreaterThan.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsGreaterThan.java
Wed Aug 10 20:21:14 2011
@@ -34,16 +34,17 @@ import org.apache.commons.functor.adapte
  * @author Rodney Waldhoff
  */
 public final class IsGreaterThan<T> implements BinaryPredicate<T, T>, Serializable
{
-    /**
-     * serialVersionUID declaration.
-     */
-    private static final long serialVersionUID = -8592932496891910273L;
 
     /**
      * Basic IsGreaterThan instance.
      */
     public static final IsGreaterThan<Comparable<?>> INSTANCE = IsGreaterThan.<Comparable<?>>instance();
 
+    /**
+     * serialVersionUID declaration.
+     */
+    private static final long serialVersionUID = -8592932496891910273L;
+
     private final Comparator<? super T> comparator;
 
     /**

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsGreaterThanOrEqual.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsGreaterThanOrEqual.java?rev=1156349&r1=1156348&r2=1156349&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsGreaterThanOrEqual.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsGreaterThanOrEqual.java
Wed Aug 10 20:21:14 2011
@@ -34,10 +34,6 @@ import org.apache.commons.functor.adapte
  * @author Rodney Waldhoff
  */
 public final class IsGreaterThanOrEqual<T> implements BinaryPredicate<T, T>,
Serializable {
-    /**
-     * serialVersionUID declaration.
-     */
-    private static final long serialVersionUID = 5262405026444050167L;
 
     /**
      * Basic IsGreaterThanOrEqual instance.
@@ -45,6 +41,11 @@ public final class IsGreaterThanOrEqual<
     public static final IsGreaterThanOrEqual<Comparable<?>> INSTANCE = IsGreaterThanOrEqual
             .<Comparable<?>> instance();
 
+    /**
+     * serialVersionUID declaration.
+     */
+    private static final long serialVersionUID = 5262405026444050167L;
+
     private final Comparator<? super T> comparator;
 
     /**

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsLessThan.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsLessThan.java?rev=1156349&r1=1156348&r2=1156349&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsLessThan.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsLessThan.java
Wed Aug 10 20:21:14 2011
@@ -34,16 +34,17 @@ import org.apache.commons.functor.adapte
  * @author Rodney Waldhoff
  */
 public final class IsLessThan<T> implements BinaryPredicate<T, T>, Serializable
{
-    /**
-     * serialVersionUID declaration.
-     */
-    private static final long serialVersionUID = 1809153179639613842L;
 
     /**
      * Basic IsLessThan instance.
      */
     public static final IsLessThan<Comparable<?>> INSTANCE = IsLessThan.<Comparable<?>>instance();
 
+    /**
+     * serialVersionUID declaration.
+     */
+    private static final long serialVersionUID = 1809153179639613842L;
+
     private final Comparator<? super T> comparator;
 
     /**

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsLessThanOrEqual.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsLessThanOrEqual.java?rev=1156349&r1=1156348&r2=1156349&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsLessThanOrEqual.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsLessThanOrEqual.java
Wed Aug 10 20:21:14 2011
@@ -34,16 +34,17 @@ import org.apache.commons.functor.adapte
  * @author Rodney Waldhoff
  */
 public final class IsLessThanOrEqual<T> implements BinaryPredicate<T, T>, Serializable
{
-    /**
-     * serialVersionUID declaration.
-     */
-    private static final long serialVersionUID = -7270189005780457145L;
 
     /**
      * Basic IsLessThanOrEqual instance.
      */
     public static final IsLessThanOrEqual<Comparable<?>> INSTANCE = IsLessThanOrEqual.<Comparable<?>>instance();
 
+    /**
+     * serialVersionUID declaration.
+     */
+    private static final long serialVersionUID = -7270189005780457145L;
+
     private final Comparator<? super T> comparator;
 
     /**

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsNotEquivalent.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsNotEquivalent.java?rev=1156349&r1=1156348&r2=1156349&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsNotEquivalent.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsNotEquivalent.java
Wed Aug 10 20:21:14 2011
@@ -37,16 +37,17 @@ import org.apache.commons.functor.adapte
  *
  */
 public final class IsNotEquivalent<T> implements BinaryPredicate<T, T>, Serializable
{
-    /**
-     * serialVersionUID declaration.
-     */
-    private static final long serialVersionUID = 1021154684877529051L;
 
     /**
      * Basic IsNotEquivalent instance.
      */
     public static final IsNotEquivalent<Comparable<?>> INSTANCE = IsNotEquivalent.<Comparable<?>>instance();
 
+    /**
+     * serialVersionUID declaration.
+     */
+    private static final long serialVersionUID = 1021154684877529051L;
+
     private final Comparator<? super T> comparator;
 
     /**

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=1156349&r1=1156348&r2=1156349&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
Wed Aug 10 20:21:14 2011
@@ -31,16 +31,17 @@ import org.apache.commons.functor.adapte
  * @author Rodney Waldhoff
  */
 public final class Max<T> implements BinaryFunction<T, T, T>, Serializable {
-    /**
-     * serialVersionUID declaration.
-     */
-    private static final long serialVersionUID = 6514424464263828685L;
 
     /**
      * Basic Max instance.
      */
     public static final Max<Comparable<?>> INSTANCE = Max.<Comparable<?>>instance();
 
+    /**
+     * serialVersionUID declaration.
+     */
+    private static final long serialVersionUID = 6514424464263828685L;
+
     private final Comparator<T> comparator;
 
     /**

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/Min.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/Min.java?rev=1156349&r1=1156348&r2=1156349&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/Min.java
(original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/Min.java
Wed Aug 10 20:21:14 2011
@@ -31,16 +31,17 @@ import org.apache.commons.functor.adapte
  * @author Rodney Waldhoff
  */
 public final class Min<T> implements BinaryFunction<T, T, T>, Serializable {
-    /**
-     * serialVersionUID declaration.
-     */
-    private static final long serialVersionUID = 9190170976707323848L;
 
     /**
      * Basic Min instance.
      */
     public static final Min<Comparable<?>> INSTANCE = Min.<Comparable<?>>instance();
 
+    /**
+     * serialVersionUID declaration.
+     */
+    private static final long serialVersionUID = 9190170976707323848L;
+
     private final Comparator<T> comparator;
 
     /**



Mime
View raw message