[Fb-contrib-commit] SF.net SVN: fb-contrib: [818] trunk/fb-contrib/etc/messages.xml
Brought to you by:
dbrosius
From: <dbr...@us...> - 2007-02-02 05:14:32
|
Revision: 818 http://svn.sourceforge.net/fb-contrib/?rev=818&view=rev Author: dbrosius Date: 2007-02-01 21:14:33 -0800 (Thu, 01 Feb 2007) Log Message: ----------- add info for SJVU bug pattern/detector Modified Paths: -------------- trunk/fb-contrib/etc/messages.xml Modified: trunk/fb-contrib/etc/messages.xml =================================================================== --- trunk/fb-contrib/etc/messages.xml 2007-02-02 05:06:53 UTC (rev 817) +++ trunk/fb-contrib/etc/messages.xml 2007-02-02 05:14:33 UTC (rev 818) @@ -685,6 +685,7 @@ <p>looks for class that implement Comparator or Comparable, and whose compare or compareTo methods return constant values only, but that don't represent the three possible choice (a negative number, 0, and a positive number).</p> + <p>It is a fast detector.</p> ]]> </Details> </Detector> @@ -693,6 +694,7 @@ <Details> <![CDATA[ <p>looks for a potpourri of small problems that do not fit into a common pattern.</p> + <p>It is a fast detector.</p> ]]> </Details> </Detector> @@ -703,6 +705,7 @@ <p><b>THIS DETECTOR IS HIGHLY EXPERIMENTAL AND IS LIKELY TO CREATE A LOT OF FUD</b> Looks for assignments to variables in a scope larger than it's use. As long as the evaluation of the assignment does not have side effects, the assignment can be moved into the inner scope where it is used.</p> + <p>It is a fast detector.</p> ]]> </Details> </Detector> @@ -713,6 +716,7 @@ <p>looks for classes that implement interfaces by relying on methods being implemented in superclasses, even tho the superclass knows nothing about the interface being implemented by the child.</p> + <p>It is a fast detector.</p> ]]> </Details> </Detector> @@ -724,6 +728,7 @@ of the collection at the same time that the collection is being iterated on. If this occurs the iterator will become invalid and throw a ConcurrentModificationException. Instead, the remove should be called on the iterator itself.</p> + <p>It is a fast detector.</p> ]]> </Details> </Detector> @@ -734,6 +739,7 @@ <p>looks for code that builds an array by using a StringTokenizer to break up a string and place individual elements into an array. It is simpler to use String.split instead.</p> + <p>It is a fast detector.</p> ]]> </Details> </Detector> @@ -741,6 +747,10 @@ <Detector class="com.mebigfatguy.fbcontrib.detect.SuspiciousJDKVersionUse"> <Details> <![CDATA[ + <p>looks for calls to classes and methods that do not exist in the JDK for which this class is + compiled. This can happen if you specify the -source and -target options of the javac compiler, and + specify a target that is less than the jdk version of the javac compiler.</p> + <p>It is a slow detector.</p> ]]> </Details> </Detector> @@ -1775,6 +1785,9 @@ <LongDescription></LongDescription> <Details> <![CDATA[ + <p>This method calls a method that does not exist, on a class that does not exist in the jdk that + this class has been compiled for. This can happen if you compile the class specifying the -source and + -target options, and use a version that is before the version of the compiler's JDK.</p> ]]> </Details> </BugPattern> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |