Update of /cvsroot/fb-contrib/fb-contrib/samples
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24527/samples
Modified Files:
LII_Sample.java
Log Message:
don't report LII when the for loop does not start with 0
Index: LII_Sample.java
===================================================================
RCS file: /cvsroot/fb-contrib/fb-contrib/samples/LII_Sample.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- LII_Sample.java 10 Sep 2005 04:12:41 -0000 1.1
+++ LII_Sample.java 12 Oct 2005 04:26:21 -0000 1.2
@@ -39,4 +39,13 @@
}
return sb.toString();
}
+
+ public String test5FP(List<String> l)
+ {
+ StringBuffer sb = new StringBuffer();
+ for (int i = 1; i < l.size(); i++) {
+ sb.append(l.get(i));
+ }
+ return sb.toString();
+ }
}
\ No newline at end of file
|