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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]