commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwaldh...@apache.org
Subject cvs commit: jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/example/kata/four DataMunger.java
Date Wed, 17 Dec 2003 22:05:27 GMT
rwaldhoff    2003/12/17 14:05:26

  Modified:    functor/src/test/org/apache/commons/functor/example/kata/four
                        DataMunger.java
  Log:
  add a bit of whitespace
  
  Revision  Changes    Path
  1.6       +7 -7      jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/example/kata/four/DataMunger.java
  
  Index: DataMunger.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/example/kata/four/DataMunger.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- DataMunger.java	3 Dec 2003 01:04:12 -0000	1.5
  +++ DataMunger.java	17 Dec 2003 22:05:26 -0000	1.6
  @@ -103,14 +103,14 @@
       private static final BinaryFunction lesserSpread(final int col1, final int col2) {
           return new ConditionalBinaryFunction(            
               IsNull.left(),                                 // if left is null
  -            RightIdentity.instance(),                      // return right
  -            Conditional.function(                          // else the parameter with the
least spread
  -                Composite.predicate(                       // if left is less than right
  +            RightIdentity.instance(),                      //   return right
  +            Conditional.function(                          //   else return the parameter
with the least spread
  +                Composite.predicate(                       //     if left is less than
right
                       IsLessThan.instance(),
                       absSpread(col1,col2),
                       absSpread(col1,col2)),
  -                LeftIdentity.instance(),                   // return left
  -                RightIdentity.instance()                   // else return right 
  +                LeftIdentity.instance(),                   //       return left
  +                RightIdentity.instance()                   //       else return right 
               )
           );
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message