Update of /cvsroot/fb-contrib/fb-contrib/etc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17538/etc
Modified Files:
messages.xml
Log Message:
be more precise in documentation
Index: messages.xml
===================================================================
RCS file: /cvsroot/fb-contrib/fb-contrib/etc/messages.xml,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- messages.xml 25 Sep 2005 06:11:03 -0000 1.21
+++ messages.xml 14 Oct 2005 03:32:36 -0000 1.22
@@ -67,8 +67,8 @@
<Details>
<![CDATA[
<p> Looks for for loops that iterate over a java.util.List using an integer index, and get,
- rather than using an Iterator. An iterator will perform better, but more importantly will allow
- the code to be converted to other collections type.</p>
+ rather than using an Iterator. An iterator may perform better depending List implementation,
+ but more importantly will allow the code to be converted to other collections type.</p>
<p>It is a moderately fast detector</p>
]]>
</Details>
@@ -225,8 +225,8 @@
<![CDATA[
<p>This method uses an integer based for loop to iterator over a java.util.List, by calling
List.get(i) each time thru the loop. The integer is not used for other reasons. It is better
- to use an Iterator instead, as iterators perform better, and they also allow for exchanging of
- other collection types without issue.</p>
+ to use an Iterator instead, as depending on List implementation, iterators can perform better,
+ and they also allow for exchanging of other collection types without issue.</p>
]]>
</Details>
</BugPattern>
|