Thread: [Fb-contrib-commit] SF.net SVN: fb-contrib: [510] trunk/fb-contrib/etc/messages.xml
Brought to you by:
dbrosius
From: <dbr...@us...> - 2006-04-29 23:38:13
|
Revision: 510 Author: dbrosius Date: 2006-04-29 16:38:06 -0700 (Sat, 29 Apr 2006) ViewCVS: http://svn.sourceforge.net/fb-contrib/?rev=510&view=rev Log Message: ----------- syntax Modified Paths: -------------- trunk/fb-contrib/etc/messages.xml Modified: trunk/fb-contrib/etc/messages.xml =================================================================== --- trunk/fb-contrib/etc/messages.xml 2006-04-29 23:22:15 UTC (rev 509) +++ trunk/fb-contrib/etc/messages.xml 2006-04-29 23:38:06 UTC (rev 510) @@ -1156,7 +1156,7 @@ <Details> <![CDATA[ <p>This method sets a Components explicitly foreground or background color which may - cause difficulty with people with visions problems from using this application. + cause difficulty with people with vision problems from using this application. Colors should be allowed to be set from the operating system.</p> ]]> </Details> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2006-05-21 06:29:15
|
Revision: 544 Author: dbrosius Date: 2006-05-20 23:29:10 -0700 (Sat, 20 May 2006) ViewCVS: http://svn.sourceforge.net/fb-contrib/?rev=544&view=rev Log Message: ----------- clearer messages Modified Paths: -------------- trunk/fb-contrib/etc/messages.xml Modified: trunk/fb-contrib/etc/messages.xml =================================================================== --- trunk/fb-contrib/etc/messages.xml 2006-05-17 05:26:47 UTC (rev 543) +++ trunk/fb-contrib/etc/messages.xml 2006-05-21 06:29:10 UTC (rev 544) @@ -1164,7 +1164,8 @@ <Details> <![CDATA[ <p>This class uses JLabels that do not specify what fields are being labeled. - This hampers screen readers from given appropriate feed back to users. + This hampers screen readers from given appropriate feed back to users. Use + the JLabel.setLabelFor method to accomplish this. </p> ]]> </Details> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2006-08-10 01:04:34
|
Revision: 599 Author: dbrosius Date: 2006-08-09 18:04:23 -0700 (Wed, 09 Aug 2006) ViewCVS: http://svn.sourceforge.net/fb-contrib/?rev=599&view=rev Log Message: ----------- fix DDC long description Modified Paths: -------------- trunk/fb-contrib/etc/messages.xml Modified: trunk/fb-contrib/etc/messages.xml =================================================================== --- trunk/fb-contrib/etc/messages.xml 2006-08-09 04:17:59 UTC (rev 598) +++ trunk/fb-contrib/etc/messages.xml 2006-08-10 01:04:23 UTC (rev 599) @@ -1078,7 +1078,7 @@ <BugPattern type="DDC_DOUBLE_DATE_COMPARISON"> <ShortDescription>Method uses two date comparisons when one would do</ShortDescription> - <LongDescription>Method uses two date comparisons when one would do</LongDescription> + <LongDescription>Method {1} uses two date comparisons when one would do</LongDescription> <Details> <![CDATA[ <p>This method compares dates with two comparisons, rather than using the reverse comparison. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2006-08-12 03:26:17
|
Revision: 610 Author: dbrosius Date: 2006-08-11 20:26:13 -0700 (Fri, 11 Aug 2006) ViewCVS: http://svn.sourceforge.net/fb-contrib/?rev=610&view=rev Log Message: ----------- better descriptions Modified Paths: -------------- trunk/fb-contrib/etc/messages.xml Modified: trunk/fb-contrib/etc/messages.xml =================================================================== --- trunk/fb-contrib/etc/messages.xml 2006-08-12 02:33:27 UTC (rev 609) +++ trunk/fb-contrib/etc/messages.xml 2006-08-12 03:26:13 UTC (rev 610) @@ -1225,7 +1225,7 @@ <BugPattern type="S508C_NO_SETLABELFOR"> <ShortDescription>JLabel doesn't specify what it's labeling</ShortDescription> - <LongDescription>JLabel doesn't specify what it's labeling</LongDescription> + <LongDescription>JLabel in method {1} doesn't specify what it's labeling</LongDescription> <Details> <![CDATA[ <p>This class uses JLabels that do not specify what fields are being labeled. @@ -1238,7 +1238,7 @@ <BugPattern type="S508C_NO_SETSIZE"> <ShortDescription>Window sets size manually, and doesn't use pack</ShortDescription> - <LongDescription>Window sets size manually, and doesn't use pack</LongDescription> + <LongDescription>Window {0} sets size manually, and doesn't use pack</LongDescription> <Details> <![CDATA[ <p>This class creates a window, and sizes the window using setSize. It is better This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2006-09-10 01:51:20
|
Revision: 639 http://svn.sourceforge.net/fb-contrib/?rev=639&view=rev Author: dbrosius Date: 2006-09-09 18:51:12 -0700 (Sat, 09 Sep 2006) Log Message: ----------- better message Modified Paths: -------------- trunk/fb-contrib/etc/messages.xml Modified: trunk/fb-contrib/etc/messages.xml =================================================================== --- trunk/fb-contrib/etc/messages.xml 2006-09-10 00:41:26 UTC (rev 638) +++ trunk/fb-contrib/etc/messages.xml 2006-09-10 01:51:12 UTC (rev 639) @@ -1479,7 +1479,9 @@ because this class does not take the responsibility of writing these fields out either using Serializable's writeObject method, or Externalizable's writeExternal method. Therefore when this class is read from a stream, the superclass fields - will only be initialized to the values specified in it's default constructor.</p> + will only be initialized to the values specified in it's default constructor. + If possible, change the superclass to implement Serializable, or implement + Serializable or Externalizable methods in the child class.</p> ]]> </Details> </BugPattern> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2006-09-24 20:36:27
|
Revision: 658 http://svn.sourceforge.net/fb-contrib/?rev=658&view=rev Author: dbrosius Date: 2006-09-24 13:36:16 -0700 (Sun, 24 Sep 2006) Log Message: ----------- rename RMC for the weak in the stomach Modified Paths: -------------- trunk/fb-contrib/etc/messages.xml Modified: trunk/fb-contrib/etc/messages.xml =================================================================== --- trunk/fb-contrib/etc/messages.xml 2006-09-24 20:35:11 UTC (rev 657) +++ trunk/fb-contrib/etc/messages.xml 2006-09-24 20:36:16 UTC (rev 658) @@ -1368,9 +1368,9 @@ </Details> </BugPattern> - <BugPattern type="RMC_REDUNDANT_METHOD_CALLS"> - <ShortDescription>Method calls the same method on the same object redundantly</ShortDescription> - <LongDescription>Method {1} calls the same method on the same object redundantly</LongDescription> + <BugPattern type="PRMC_POSSIBLY_REDUNDANT_METHOD_CALLS"> + <ShortDescription>Method appears to call the same method on the same object redundantly</ShortDescription> + <LongDescription>Method {1} appears to call the same method on the same object redundantly</LongDescription> <Details> <![CDATA[ <p>This method makes two consecutive calls to the same method using the same constant @@ -1536,7 +1536,7 @@ <BugCode abbrev="NMCS">Needless Member Collection Synchronization</BugCode> <BugCode abbrev="ITC">Inheritance Type Checking</BugCode> <BugCode abbrev="SACM">Static Array Created in Method</BugCode> - <BugCode abbrev="RMC">Redundant Method Calls</BugCode> + <BugCode abbrev="PRMC">Possibly Redundant Method Calls</BugCode> <BugCode abbrev="UTA">Use toArray</BugCode> <BugCode abbrev="LEST">Lost Exception Stack Trace</BugCode> <BugCode abbrev="UCPM">Use Character Parameterized Method</BugCode> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2006-09-24 20:57:33
|
Revision: 660 http://svn.sourceforge.net/fb-contrib/?rev=660&view=rev Author: dbrosius Date: 2006-09-24 13:57:25 -0700 (Sun, 24 Sep 2006) Log Message: ----------- Modified Paths: -------------- trunk/fb-contrib/etc/messages.xml Modified: trunk/fb-contrib/etc/messages.xml =================================================================== --- trunk/fb-contrib/etc/messages.xml 2006-09-24 20:38:09 UTC (rev 659) +++ trunk/fb-contrib/etc/messages.xml 2006-09-24 20:57:25 UTC (rev 660) @@ -599,7 +599,7 @@ </Details> </Detector> - <Detector class="com.mebigfatguy.fbcontrib.detect.RedundantMethodCalls"> + <Detector class="com.mebigfatguy.fbcontrib.detect.PossiblyRedundantMethodCalls"> <Details> <![CDATA[ <p>looks for calls of the same method on the same object when that object hasn't changed. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2006-10-29 00:08:42
|
Revision: 680 http://svn.sourceforge.net/fb-contrib/?rev=680&view=rev Author: dbrosius Date: 2006-10-28 17:08:39 -0700 (Sat, 28 Oct 2006) Log Message: ----------- fix name Modified Paths: -------------- trunk/fb-contrib/etc/messages.xml Modified: trunk/fb-contrib/etc/messages.xml =================================================================== --- trunk/fb-contrib/etc/messages.xml 2006-10-29 00:07:46 UTC (rev 679) +++ trunk/fb-contrib/etc/messages.xml 2006-10-29 00:08:39 UTC (rev 680) @@ -676,7 +676,7 @@ </Details> </Detector> - <Detector class="com.mebigfatguy.fbcontrib.detect.SuspiciousComparator"> + <Detector class="com.mebigfatguy.fbcontrib.detect.SuspiciousComparatorReturnValues"> <Details> <![CDATA[ <p>looks for class that implement Comparator or Comparable, and whose compare or compareTo This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2006-11-19 04:36:13
|
Revision: 690 http://svn.sourceforge.net/fb-contrib/?rev=690&view=rev Author: dbrosius Date: 2006-11-18 20:36:12 -0800 (Sat, 18 Nov 2006) Log Message: ----------- spilleng Modified Paths: -------------- trunk/fb-contrib/etc/messages.xml Modified: trunk/fb-contrib/etc/messages.xml =================================================================== --- trunk/fb-contrib/etc/messages.xml 2006-11-19 04:33:43 UTC (rev 689) +++ trunk/fb-contrib/etc/messages.xml 2006-11-19 04:36:12 UTC (rev 690) @@ -1540,7 +1540,7 @@ <BugPattern type="SPP_NO_CHAR_SB_CTOR"> <ShortDescription>Method passes character to StringBuffer or StringBuilder integer constructor</ShortDescription> - <LongDescription>Method {1} passes character to StringBuffer or StringBuilder integer cosntructor</LongDescription> + <LongDescription>Method {1} passes character to StringBuffer or StringBuilder integer constructor</LongDescription> <Details> <![CDATA[ <p>This method constructs a StringBuffer or a StringBuilder using the constructor that takes an integer, but This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2006-12-14 00:05:21
|
Revision: 728 http://svn.sourceforge.net/fb-contrib/?rev=728&view=rev Author: dbrosius Date: 2006-12-13 16:05:21 -0800 (Wed, 13 Dec 2006) Log Message: ----------- engrish Modified Paths: -------------- trunk/fb-contrib/etc/messages.xml Modified: trunk/fb-contrib/etc/messages.xml =================================================================== --- trunk/fb-contrib/etc/messages.xml 2006-12-13 16:46:58 UTC (rev 727) +++ trunk/fb-contrib/etc/messages.xml 2006-12-14 00:05:21 UTC (rev 728) @@ -1398,7 +1398,7 @@ <LongDescription>Method {1} creates array using constants</LongDescription> <Details> <![CDATA[ - <p>This method creates an initialized by constants. Each time this method is called + <p>This method creates an array initialized by constants. Each time this method is called this array will be recreated. It would be more performant to define the array as a static field of the class instead.</p> ]]> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2006-12-19 08:26:02
|
Revision: 741 http://svn.sourceforge.net/fb-contrib/?rev=741&view=rev Author: dbrosius Date: 2006-12-19 00:25:31 -0800 (Tue, 19 Dec 2006) Log Message: ----------- add fud warnings for BAS Modified Paths: -------------- trunk/fb-contrib/etc/messages.xml Modified: trunk/fb-contrib/etc/messages.xml =================================================================== --- trunk/fb-contrib/etc/messages.xml 2006-12-19 08:19:21 UTC (rev 740) +++ trunk/fb-contrib/etc/messages.xml 2006-12-19 08:25:31 UTC (rev 741) @@ -697,7 +697,8 @@ <Detector class="com.mebigfatguy.fbcontrib.detect.BloatedAssignmentScope"> <Details> <![CDATA[ - <p>looks for assignments to variables in a scope larger than it's use. As long as the evaluation of the assignment + <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> ]]> </Details> @@ -1644,7 +1645,8 @@ <LongDescription>Method {1} assigns a variable in a larger scope then is needed</LongDescription> <Details> <![CDATA[ - <p>This method assigns a value to a variable in an outer scope compared to where the variable is actually used. + <p><b>THIS DETECTOR IS HIGHLY EXPERIMENTAL AND IS LIKELY TO CREATE A LOT OF FUD</b> + This method assigns a value to a variable in an outer scope compared to where the variable is actually used. Assuming this evaluation does not have side effects, the assignment can be moved into the inner scope (if block) so that its execution time isn't taken up if the if guard is false. Care should be taken however that the right hand side of the assignment does not contain side This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2007-01-30 06:12:31
|
Revision: 804 http://svn.sourceforge.net/fb-contrib/?rev=804&view=rev Author: dbrosius Date: 2007-01-29 22:12:31 -0800 (Mon, 29 Jan 2007) Log Message: ----------- add more explanation for LSYC Modified Paths: -------------- trunk/fb-contrib/etc/messages.xml Modified: trunk/fb-contrib/etc/messages.xml =================================================================== --- trunk/fb-contrib/etc/messages.xml 2007-01-29 17:33:28 UTC (rev 803) +++ trunk/fb-contrib/etc/messages.xml 2007-01-30 06:12:31 UTC (rev 804) @@ -1285,6 +1285,14 @@ <p>This method creates a synchronized collection and store the reference to it in a local variable. As local variables are by definition threadsafe, it seems questionable that this collection needs to be synchronized.</p> + <p> + <table> + <tr><th>If you are using</th><th>consider using</th></tr> + <tr><td>java.util.Vector</td><td>java.util.ArrayList</td></tr> + <tr><td>java.util.Hashtable</td><td>java.util.HashMap</td></tr> + <tr><td>java.lang.StringBuffer</td><td>java.lang.StringBuilder</td></tr> + </table> + </p> ]]> </Details> </BugPattern> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2007-02-02 05:32:38
|
Revision: 824 http://svn.sourceforge.net/fb-contrib/?rev=824&view=rev Author: dbrosius Date: 2007-02-01 21:32:37 -0800 (Thu, 01 Feb 2007) Log Message: ----------- add short/long description 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:31:01 UTC (rev 823) +++ trunk/fb-contrib/etc/messages.xml 2007-02-02 05:32:37 UTC (rev 824) @@ -1781,8 +1781,8 @@ </BugPattern> <BugPattern type="SJVU_SUSPICIOUS_JDK_VERSION_USE"> - <ShortDescription></ShortDescription> - <LongDescription></LongDescription> + <ShortDescription>method {1} uses rt.jar class or method that does not exist</ShortDescription> + <LongDescription>method {1} uses rt.jar class or method that does not exist for the version the class is compiled for</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 was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2007-02-04 02:45:12
|
Revision: 832 http://svn.sourceforge.net/fb-contrib/?rev=832&view=rev Author: dbrosius Date: 2007-02-03 18:45:07 -0800 (Sat, 03 Feb 2007) Log Message: ----------- remove {1} from short description Modified Paths: -------------- trunk/fb-contrib/etc/messages.xml Modified: trunk/fb-contrib/etc/messages.xml =================================================================== --- trunk/fb-contrib/etc/messages.xml 2007-02-04 02:42:56 UTC (rev 831) +++ trunk/fb-contrib/etc/messages.xml 2007-02-04 02:45:07 UTC (rev 832) @@ -1781,7 +1781,7 @@ </BugPattern> <BugPattern type="SJVU_SUSPICIOUS_JDK_VERSION_USE"> - <ShortDescription>method {1} uses rt.jar class or method that does not exist</ShortDescription> + <ShortDescription>method uses rt.jar class or method that does not exist</ShortDescription> <LongDescription>method {1} uses rt.jar class or method that does not exist for the version the class is compiled for</LongDescription> <Details> <![CDATA[ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2007-02-20 00:31:18
|
Revision: 863 http://svn.sourceforge.net/fb-contrib/?rev=863&view=rev Author: dbrosius Date: 2007-02-19 16:31:17 -0800 (Mon, 19 Feb 2007) Log Message: ----------- better words Modified Paths: -------------- trunk/fb-contrib/etc/messages.xml Modified: trunk/fb-contrib/etc/messages.xml =================================================================== --- trunk/fb-contrib/etc/messages.xml 2007-02-17 08:20:21 UTC (rev 862) +++ trunk/fb-contrib/etc/messages.xml 2007-02-20 00:31:17 UTC (rev 863) @@ -1893,5 +1893,5 @@ <BugCode abbrev="SCII">Spoiled Child Interface Implementor</BugCode> <BugCode abbrev="DWI">Deleting While Iterating</BugCode> <BugCode abbrev="USS">Use String Split</BugCode> - <BugCode abbrev="SJVU">Suspicious JDK VersionUse</BugCode> + <BugCode abbrev="SJVU">Suspicious JDK Version Use</BugCode> </MessageCollection> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2007-11-09 02:18:50
|
Revision: 963 http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=963&view=rev Author: dbrosius Date: 2007-11-08 18:18:54 -0800 (Thu, 08 Nov 2007) Log Message: ----------- better documentation Modified Paths: -------------- trunk/fb-contrib/etc/messages.xml Modified: trunk/fb-contrib/etc/messages.xml =================================================================== --- trunk/fb-contrib/etc/messages.xml 2007-11-08 23:29:23 UTC (rev 962) +++ trunk/fb-contrib/etc/messages.xml 2007-11-09 02:18:54 UTC (rev 963) @@ -1901,8 +1901,14 @@ <Details> <![CDATA[ <p>This method tests a string, and groups null values with real strings, leaving empty strings as another - case. This might be perfectly valid, but normally, null strings and empty strings are logically handled the same, + case. This might be perfectly valid, but normally, null strings and empty strings are logically handled the same way, and so this test may be flawed.</p> + <p>Pattern found is one of the following + <pre>if ((s == null) || (s.length() > 0))</pre> -- did you mean ((s == null) || (s.length() == 0))? + <pre>if ((s == null) || (s.length() != 0))</pre> -- did you mean ((s == null) || (s.length() == 0))? + <pre>if ((s != null) && (s.length() == 0))</pre> -- did you mean ((s != null) && (s.length() > 0))? + or perhaps ((s == null) || (s.length() == 0))? + </p> ]]> </Details> </BugPattern> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2008-03-12 05:19:56
|
Revision: 996 http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=996&view=rev Author: dbrosius Date: 2008-03-11 22:19:56 -0700 (Tue, 11 Mar 2008) Log Message: ----------- gram mar Modified Paths: -------------- trunk/fb-contrib/etc/messages.xml Modified: trunk/fb-contrib/etc/messages.xml =================================================================== --- trunk/fb-contrib/etc/messages.xml 2008-03-12 05:16:00 UTC (rev 995) +++ trunk/fb-contrib/etc/messages.xml 2008-03-12 05:19:56 UTC (rev 996) @@ -850,7 +850,7 @@ <Detector class="com.mebigfatguy.fbcontrib.detect.SuspiciousCloneAlgorithm"> <Details> <![CDATA[ - <p>looks for implementation of clone where an assignment is made to a field of the + <p>looks for implementations of clone where an assignment is made to a field of the source object. It is likely that that store should have occurred on the cloned object, as the clone operation is almost always considered read only.</p>]]> </Details> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dbr...@us...> - 2007-01-29 17:33:35
|
Revision: 803 http://svn.sourceforge.net/fb-contrib/?rev=803&view=rev Author: dbrosius Date: 2007-01-29 09:33:28 -0800 (Mon, 29 Jan 2007) Log Message: ----------- better explaination of differences between StringTokenizer and String.split Modified Paths: -------------- trunk/fb-contrib/etc/messages.xml Modified: trunk/fb-contrib/etc/messages.xml =================================================================== --- trunk/fb-contrib/etc/messages.xml 2007-01-28 21:47:38 UTC (rev 802) +++ trunk/fb-contrib/etc/messages.xml 2007-01-29 17:33:28 UTC (rev 803) @@ -1742,8 +1742,15 @@ <![CDATA[ <p>This method uses a StringTokenizer to split up a String and then walks thru the separated elements and builds an array from these enumerated values. It is simpler - and easier to use the String.split method. - </p> + and easier to use the String.split method.</p> + <p>PLEASE NOTE: String.split will return an array of 1 element when passed the + empty string, as opposed to using StringTokenizer which returns false on the first + hasMoreElements/hasMoreTokens call. So you may need to use</p> + <pre> + if (s.length() > 0) + return s.split(";"); + return new String[0]; + </pre> ]]> </Details> </BugPattern> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
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. |