rwaldhoff 2003/12/17 14:15:11
Modified: functor/src/test/org/apache/commons/functor/example/kata/four
DataMunger.java
Log:
add comments
Revision Changes Path
1.8 +3 -3
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.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- DataMunger.java 17 Dec 2003 22:13:51 -0000 1.7
+++ DataMunger.java 17 Dec 2003 22:15:11 -0000 1.8
@@ -91,7 +91,7 @@
/**
* Processes each line of the given Reader, returning the <i>selected</i>
column for the
* line where the absolute difference between the integer value of <i>col1</i>
and <i>col2</i>
- * is least.
+ * is least. Note that lines that don't begin with an Integer are ignored.
*/
public static final Object process(final Reader file, final int selected, final
int col1, final int col2) {
return NthColumn.instance(selected).evaluate(
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]