Thread: [Fb-contrib-commit] SF.net SVN: fb-contrib:[1584] trunk/fb-contrib/etc/messages.xml (Page 2)
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2010-07-21 02:38:14
|
Revision: 1584
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1584&view=rev
Author: dbrosius
Date: 2010-07-21 02:38:08 +0000 (Wed, 21 Jul 2010)
Log Message:
-----------
spilleng
Modified Paths:
--------------
trunk/fb-contrib/etc/messages.xml
Modified: trunk/fb-contrib/etc/messages.xml
===================================================================
--- trunk/fb-contrib/etc/messages.xml 2010-07-17 15:49:17 UTC (rev 1583)
+++ trunk/fb-contrib/etc/messages.xml 2010-07-21 02:38:08 UTC (rev 1584)
@@ -2801,8 +2801,8 @@
</BugPattern>
<BugPattern type="IKNC_INCONSISTENT_HTTP_PARAM_CASING">
- <ShortDescription>method uses the same HttpRequestRequest parameter name but with different casing</ShortDescription>
- <LongDescription>method {1} uses the same HttpRequestRequest parameter name but with different casing</LongDescription>
+ <ShortDescription>method uses the same HttpRequest parameter name but with different casing</ShortDescription>
+ <LongDescription>method {1} uses the same HttpRequest parameter name but with different casing</LongDescription>
<Details>
<![CDATA[
<p>This method fetches an HttpServletRequest parameter with a parmeter name that was used in other locations
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-08-08 04:25:35
|
Revision: 1585
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1585&view=rev
Author: dbrosius
Date: 2010-08-08 04:25:28 +0000 (Sun, 08 Aug 2010)
Log Message:
-----------
DDC_DOUBLE_DATE_COMPARISON provides wrong solution - ID: 3039854
Modified Paths:
--------------
trunk/fb-contrib/etc/messages.xml
Modified: trunk/fb-contrib/etc/messages.xml
===================================================================
--- trunk/fb-contrib/etc/messages.xml 2010-07-21 02:38:08 UTC (rev 1584)
+++ trunk/fb-contrib/etc/messages.xml 2010-08-08 04:25:28 UTC (rev 1585)
@@ -1722,7 +1722,7 @@
</pre>
could become
<pre>
- if (!date2.before( date1 ))
+ if (date1.compareTo( date2 ) >= 0)
</pre>
and
<pre>
@@ -1730,7 +1730,7 @@
</pre>
could become
<pre>
- if (!date1.after( date2 ))
+ if (date1.compareTo( date2 ) <= 0)
</pre>
and
<pre>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-08-30 12:55:20
|
Revision: 1598
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1598&view=rev
Author: dbrosius
Date: 2010-08-30 12:55:14 +0000 (Mon, 30 Aug 2010)
Log Message:
-----------
engrish
Modified Paths:
--------------
trunk/fb-contrib/etc/messages.xml
Modified: trunk/fb-contrib/etc/messages.xml
===================================================================
--- trunk/fb-contrib/etc/messages.xml 2010-08-30 02:43:22 UTC (rev 1597)
+++ trunk/fb-contrib/etc/messages.xml 2010-08-30 12:55:14 UTC (rev 1598)
@@ -3207,8 +3207,8 @@
<![CDATA[
<p>This method creates an object but does not assign this object to any variable or field.
This implies that the class operations through side effects in the constructor, which is a
- pattern to use. Consider pull the side effect out of the constructor, into a separate method,
- of into the calling method.
+ bad pattern to use, as it adds unnecessary coupling. Consider pulling the side effect out of the constructor, into a separate method,
+ or into the calling method.
]]>
</Details>
</BugPattern>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-09-04 20:38:57
|
Revision: 1604
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1604&view=rev
Author: dbrosius
Date: 2010-09-04 20:38:51 +0000 (Sat, 04 Sep 2010)
Log Message:
-----------
add spaces to SUA's Bug Code
Modified Paths:
--------------
trunk/fb-contrib/etc/messages.xml
Modified: trunk/fb-contrib/etc/messages.xml
===================================================================
--- trunk/fb-contrib/etc/messages.xml 2010-09-04 20:38:03 UTC (rev 1603)
+++ trunk/fb-contrib/etc/messages.xml 2010-09-04 20:38:51 UTC (rev 1604)
@@ -3320,7 +3320,7 @@
<BugCode abbrev="DTEP">Deprecated Typesafe Enum Pattern</BugCode>
<BugCode abbrev="SMA">Stuttered Method Arguments</BugCode>
<BugCode abbrev="TBP">Tristate Boolean Pattern</BugCode>
- <BugCode abbrev="SUA">SuspiciousUninitializedArray</BugCode>
+ <BugCode abbrev="SUA">Suspicious Uninitialized Array</BugCode>
<BugCode abbrev="ITU">Inappropriate ToString Use</BugCode>
<BugCode abbrev="IKNC">Inconsistent Key Name Casing</BugCode>
<BugCode abbrev="OC">Overzealous Casting</BugCode>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-09-13 02:00:42
|
Revision: 1611
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1611&view=rev
Author: dbrosius
Date: 2010-09-13 02:00:34 +0000 (Mon, 13 Sep 2010)
Log Message:
-----------
Uppercase first letter of <ShortDescription> or <LongDescription>
Modified Paths:
--------------
trunk/fb-contrib/etc/messages.xml
Modified: trunk/fb-contrib/etc/messages.xml
===================================================================
--- trunk/fb-contrib/etc/messages.xml 2010-09-11 15:41:55 UTC (rev 1610)
+++ trunk/fb-contrib/etc/messages.xml 2010-09-13 02:00:34 UTC (rev 1611)
@@ -1196,8 +1196,8 @@
<!-- BugPattern -->
<BugPattern type="ISB_INEFFICIENT_STRING_BUFFERING">
- <ShortDescription>method passes simple concatenating string in StringBuffer or StringBuilder append</ShortDescription>
- <LongDescription>method {1} passes simple concatenating string in StringBuffer or StringBuilder append</LongDescription>
+ <ShortDescription>Method passes simple concatenating string in StringBuffer or StringBuilder append</ShortDescription>
+ <LongDescription>Method {1} passes simple concatenating string in StringBuffer or StringBuilder append</LongDescription>
<Details>
<![CDATA[
<p> This method uses StringBuffer or StringBuilder append to concatenate strings. However, it passes the result
@@ -1208,8 +1208,8 @@
</BugPattern>
<BugPattern type="ISB_EMPTY_STRING_APPENDING">
- <ShortDescription>method concatenates an empty string to effect type conversion</ShortDescription>
- <LongDescription>method {1} concatenates an empty string to effect type conversion</LongDescription>
+ <ShortDescription>Method concatenates an empty string to effect type conversion</ShortDescription>
+ <LongDescription>Method {1} concatenates an empty string to effect type conversion</LongDescription>
<Details>
<![CDATA[
<p> This method concatenates an empty string with a literal value, in order to convert
@@ -1221,8 +1221,8 @@
</BugPattern>
<BugPattern type="SCI_SYNCHRONIZED_COLLECTION_ITERATORS">
- <ShortDescription>method creates iterators on synchronized collections</ShortDescription>
- <LongDescription>method {1} creates iterators on synchronized collections</LongDescription>
+ <ShortDescription>Method creates iterators on synchronized collections</ShortDescription>
+ <LongDescription>Method {1} creates iterators on synchronized collections</LongDescription>
<Details>
<![CDATA[
<p> This method uses a synchronized collection, built from Collections.synchronizedXXXX, but accesses it
@@ -1233,8 +1233,8 @@
</BugPattern>
<BugPattern type="CC_CYCLOMATIC_COMPLEXITY">
- <ShortDescription>method is excessively complex</ShortDescription>
- <LongDescription>method {1} is excessively complex</LongDescription>
+ <ShortDescription>Method is excessively complex</ShortDescription>
+ <LongDescription>Method {1} is excessively complex</LongDescription>
<Details>
<![CDATA[
<p> This method has a high cyclomatic complexity figure, which calculates the number of branch
@@ -1245,8 +1245,8 @@
</BugPattern>
<BugPattern type="OCP_OVERLY_CONCRETE_PARAMETER">
- <ShortDescription>method needlessly defines parameter with concrete classes</ShortDescription>
- <LongDescription>method {1} needlessly defines parameter with concrete classes</LongDescription>
+ <ShortDescription>Method needlessly defines parameter with concrete classes</ShortDescription>
+ <LongDescription>Method {1} needlessly defines parameter with concrete classes</LongDescription>
<Details>
<![CDATA[
<p> This method uses concrete classes for parameters when only methods defined in an implemented
@@ -1257,8 +1257,8 @@
</BugPattern>
<BugPattern type="LII_LIST_INDEXED_ITERATING">
- <ShortDescription>method uses integer based for loops to iterate over a List</ShortDescription>
- <LongDescription>method {1} uses integer based for loops to iterate over a List</LongDescription>
+ <ShortDescription>Method uses integer based for loops to iterate over a List</ShortDescription>
+ <LongDescription>Method {1} uses integer based for loops to iterate over a List</LongDescription>
<Details>
<![CDATA[
<p>This method uses an integer based for loop to iterator over a java.util.List, by calling
@@ -1270,8 +1270,8 @@
</BugPattern>
<BugPattern type="UCC_UNRELATED_COLLECTION_CONTENTS">
- <ShortDescription>method adds unrelated types to collection or array</ShortDescription>
- <LongDescription>method {1} adds unrelated types to collection or array</LongDescription>
+ <ShortDescription>Method adds unrelated types to collection or array</ShortDescription>
+ <LongDescription>Method {1} adds unrelated types to collection or array</LongDescription>
<Details>
<![CDATA[
<p>This method adds unrelated objects to a collection or array, requiring careful and brittle
@@ -1282,8 +1282,8 @@
</BugPattern>
<BugPattern type="DRE_DECLARED_RUNTIME_EXCEPTION">
- <ShortDescription>method declares RuntimeException in throws clause</ShortDescription>
- <LongDescription>method {1} declares RuntimeException in throws clause</LongDescription>
+ <ShortDescription>Method declares RuntimeException in throws clause</ShortDescription>
+ <LongDescription>Method {1} declares RuntimeException in throws clause</LongDescription>
<Details>
<![CDATA[
<p>This method declares a RuntimeException derived class in it's throws clause.
@@ -1295,8 +1295,8 @@
</BugPattern>
<BugPattern type="CE_CLASS_ENVY">
- <ShortDescription>method excessively uses methods of another class</ShortDescription>
- <LongDescription>method {1} excessively uses methods of another class</LongDescription>
+ <ShortDescription>Method excessively uses methods of another class</ShortDescription>
+ <LongDescription>Method {1} excessively uses methods of another class</LongDescription>
<Details>
<![CDATA[
<p><em>THIS DETECTOR IS HIGHLY EXPERIMENTAL AND IS LIKELY TO CREATE A LOT OF FUD</em></p>
@@ -1309,8 +1309,8 @@
</BugPattern>
<BugPattern type="LSC_LITERAL_STRING_COMPARISON">
- <ShortDescription>method makes literal string comparisons passing the literal as an argument</ShortDescription>
- <LongDescription>method {1} makes literal string comparisons passing the literal as an argument</LongDescription>
+ <ShortDescription>Method makes literal string comparisons passing the literal as an argument</ShortDescription>
+ <LongDescription>Method {1} makes literal string comparisons passing the literal as an argument</LongDescription>
<Details>
<![CDATA[
<p>This method calls the equals or compareTo methods on a String variable passing in a String literal.
@@ -1321,8 +1321,8 @@
</BugPattern>
<BugPattern type="PCOA_PARTIALLY_CONSTRUCTED_OBJECT_ACCESS">
- <ShortDescription>constructor makes call to non-final method</ShortDescription>
- <LongDescription>constructor {1} makes call to non-final method</LongDescription>
+ <ShortDescription>Constructor makes call to non-final method</ShortDescription>
+ <LongDescription>Constructor {1} makes call to non-final method</LongDescription>
<Details>
<![CDATA[
<p>This constructor makes a call to a non-final method. Since this method can be overriden, a subclasses
@@ -1333,8 +1333,8 @@
</BugPattern>
<BugPattern type="DLC_DUBIOUS_LIST_COLLECTION">
- <ShortDescription>class defines List based fields but uses them like Sets</ShortDescription>
- <LongDescription>class {0} defines List based fields but uses them like Sets</LongDescription>
+ <ShortDescription>Class defines List based fields but uses them like Sets</ShortDescription>
+ <LongDescription>Class {0} defines List based fields but uses them like Sets</LongDescription>
<Details>
<![CDATA[
<p>This class defines a field based on java.util.List, but uses it to some extent like a Set. Since
@@ -1346,8 +1346,8 @@
</BugPattern>
<BugPattern type="PL_PARALLEL_LISTS">
- <ShortDescription>class defines two or more one for one associated lists or arrays</ShortDescription>
- <LongDescription>class {0} defines two or more one for one associated lists or arrays</LongDescription>
+ <ShortDescription>Class defines two or more one for one associated lists or arrays</ShortDescription>
+ <LongDescription>Class {0} defines two or more one for one associated lists or arrays</LongDescription>
<Details>
<![CDATA[
<p>This class appears to maintain two or more lists or arrays who's contains is related one-for-one
@@ -1358,8 +1358,8 @@
</BugPattern>
<BugPattern type="FP_FINAL_PARAMETERS">
- <ShortDescription>method does not define a parameter as final, but could</ShortDescription>
- <LongDescription>method {1} does not define a parameter as final, but could</LongDescription>
+ <ShortDescription>Method does not define a parameter as final, but could</ShortDescription>
+ <LongDescription>Method {1} does not define a parameter as final, but could</LongDescription>
<Details>
<![CDATA[
<p>This method correctly does not write to a parameter. To help document this, and to perhaps
@@ -1370,8 +1370,8 @@
</BugPattern>
<BugPattern type="ACEM_ABSTRACT_CLASS_EMPTY_METHODS">
- <ShortDescription>empty method could be declared abstract</ShortDescription>
- <LongDescription>empty method {1} could be declared abstract</LongDescription>
+ <ShortDescription>Empty method could be declared abstract</ShortDescription>
+ <LongDescription>Empty method {1} could be declared abstract</LongDescription>
<Details>
<![CDATA[
<p>This method is empty or merely throws an exception. Since the class it is defined in is
@@ -1382,8 +1382,8 @@
</BugPattern>
<BugPattern type="MAC_MANUAL_ARRAY_COPY">
- <ShortDescription>method copies arrays manually</ShortDescription>
- <LongDescription>method {1} copies arrays manually</LongDescription>
+ <ShortDescription>Method copies arrays manually</ShortDescription>
+ <LongDescription>Method {1} copies arrays manually</LongDescription>
<Details>
<![CDATA[
<p>This method copies data from one array to another manually using a loop.
@@ -1393,8 +1393,8 @@
</BugPattern>
<BugPattern type="FPL_FLOATING_POINT_LOOPS">
- <ShortDescription>method uses floating point indexed loops</ShortDescription>
- <LongDescription>method {1} uses floating point indexed loops</LongDescription>
+ <ShortDescription>Method uses floating point indexed loops</ShortDescription>
+ <LongDescription>Method {1} uses floating point indexed loops</LongDescription>
<Details>
<![CDATA[
<p>This method uses floating point variables to index a loop. Since floating point
@@ -1406,8 +1406,8 @@
</BugPattern>
<BugPattern type="NCMU_NON_COLLECTION_METHOD_USE">
- <ShortDescription>method uses old non collections interface methods</ShortDescription>
- <LongDescription>method {1} uses old non collections interface methods</LongDescription>
+ <ShortDescription>Method uses old non collections interface methods</ShortDescription>
+ <LongDescription>Method {1} uses old non collections interface methods</LongDescription>
<Details>
<![CDATA[
<p>This method makes calls to collection classes where the method is not defined by the Collections
@@ -1418,8 +1418,8 @@
</BugPattern>
<BugPattern type="CAO_CONFUSING_AUTOBOXED_OVERLOADING">
- <ShortDescription>class defines methods which confuse Character with int parameters</ShortDescription>
- <LongDescription>class {0} defines methods which confuse Character with int parameters</LongDescription>
+ <ShortDescription>Class defines methods which confuse Character with int parameters</ShortDescription>
+ <LongDescription>Class {0} defines methods which confuse Character with int parameters</LongDescription>
<Details>
<![CDATA[
<p>This class defines two methods that differ only by a parameter being defined
@@ -1430,8 +1430,8 @@
</BugPattern>
<BugPattern type="AFBR_ABNORMAL_FINALLY_BLOCK_RETURN">
- <ShortDescription>class has abnormal exit from finally block</ShortDescription>
- <LongDescription>class {0} has abnormal exit from finally block</LongDescription>
+ <ShortDescription>Class has abnormal exit from finally block</ShortDescription>
+ <LongDescription>Class {0} has abnormal exit from finally block</LongDescription>
<Details>
<![CDATA[
<p>This class returns or throws exceptions from a finally block. This will
@@ -1442,8 +1442,8 @@
</BugPattern>
<BugPattern type="SMII_STATIC_METHOD_INSTANCE_INVOCATION">
- <ShortDescription>method calls static method on instance reference</ShortDescription>
- <LongDescription>method {1} calls static method on instance reference</LongDescription>
+ <ShortDescription>Method calls static method on instance reference</ShortDescription>
+ <LongDescription>Method {1} calls static method on instance reference</LongDescription>
<Details>
<![CDATA[
<p>This method makes a static method call on an instance reference. For
@@ -1456,8 +1456,8 @@
</BugPattern>
<BugPattern type="STS_SPURIOUS_THREAD_STATES">
- <ShortDescription>method calls wait, notify or notifyAll on a Thread instance</ShortDescription>
- <LongDescription>method {1} calls wait, notify or notifyAll on a Thread instance</LongDescription>
+ <ShortDescription>Method calls wait, notify or notifyAll on a Thread instance</ShortDescription>
+ <LongDescription>Method {1} calls wait, notify or notifyAll on a Thread instance</LongDescription>
<Details>
<![CDATA[
<p>This method invokes the methods wait, notify or notifyAll on a Thread instance.
@@ -1470,8 +1470,8 @@
</BugPattern>
<BugPattern type="NAB_NEEDLESS_AUTOBOXING_CTOR">
- <ShortDescription>method passes primitive wrapper to same primitive wrapper constructor</ShortDescription>
- <LongDescription>method {1} passes primitive wrapper to same primitive wrapper constructor</LongDescription>
+ <ShortDescription>Method passes primitive wrapper to same primitive wrapper constructor</ShortDescription>
+ <LongDescription>Method {1} passes primitive wrapper to same primitive wrapper constructor</LongDescription>
<Details>
<![CDATA[
<p>This method passes a wrapped primitive object to the same class's constructor.
@@ -1483,8 +1483,8 @@
</BugPattern>
<BugPattern type="NAB_NEEDLESS_BOXING_STRING_CTOR">
- <ShortDescription>method passes parsed string to primitive wrapper constructor</ShortDescription>
- <LongDescription>method {1} passes parsed string to primitive wrapper constructor</LongDescription>
+ <ShortDescription>Method passes parsed string to primitive wrapper constructor</ShortDescription>
+ <LongDescription>Method {1} passes parsed string to primitive wrapper constructor</LongDescription>
<Details>
<![CDATA[
<p>This method passes a primitive value retrieved from a BoxedPrimitive.parseBoxedPrimitive("1") call to
@@ -1495,8 +1495,8 @@
</BugPattern>
<BugPattern type="NAB_NEEDLESS_AUTOBOXING_VALUEOF">
- <ShortDescription>method passes primitive wrapper to Wrapper class valueOf method</ShortDescription>
- <LongDescription>method {1} passes primitive wrapper to Wrapper class valueOf method</LongDescription>
+ <ShortDescription>Method passes primitive wrapper to Wrapper class valueOf method</ShortDescription>
+ <LongDescription>Method {1} passes primitive wrapper to Wrapper class valueOf method</LongDescription>
<Details>
<![CDATA[
<p>This method passes a wrapped primitive object to the same class's .valueOf method.
@@ -1508,8 +1508,8 @@
</BugPattern>
<BugPattern type="NAB_NEEDLESS_BOXING_PARSE">
- <ShortDescription>method converts String to primitive using excessive boxing</ShortDescription>
- <LongDescription>method {1} converts String to primitive using excessive boxing</LongDescription>
+ <ShortDescription>Method converts String to primitive using excessive boxing</ShortDescription>
+ <LongDescription>Method {1} converts String to primitive using excessive boxing</LongDescription>
<Details>
<![CDATA[
<p>This method passes a String to a wrapped primitive object's valueOf method, which in turn calls
@@ -1521,8 +1521,8 @@
</BugPattern>
<BugPattern type="NAB_NEEDLESS_BOXING_VALUEOF">
- <ShortDescription>method converts String to boxed primitive using excessive boxing</ShortDescription>
- <LongDescription>method {1} converts String to boxed primitive using excessive boxing</LongDescription>
+ <ShortDescription>Method converts String to boxed primitive using excessive boxing</ShortDescription>
+ <LongDescription>Method {1} converts String to boxed primitive using excessive boxing</LongDescription>
<Details>
<![CDATA[
<p>This method passes a String to a wrapped primitive object's parse method, which in turn calls
@@ -1534,8 +1534,8 @@
</BugPattern>
<BugPattern type="NAB_NEEDLESS_BOX_TO_UNBOX">
- <ShortDescription>method creates Boxed primitive from primitive only to get primitive value</ShortDescription>
- <LongDescription>method {1} creates Boxed primitive from primitive only to get primitive value</LongDescription>
+ <ShortDescription>Method creates Boxed primitive from primitive only to get primitive value</ShortDescription>
+ <LongDescription>Method {1} creates Boxed primitive from primitive only to get primitive value</LongDescription>
<Details>
<![CDATA[
<p>This method constructs a Boxed Primitive from a primitive only to call the primitiveValue() method to
@@ -1553,8 +1553,8 @@
</BugPattern>
<BugPattern type="NAB_NEEDLESS_BOX_TO_CAST">
- <ShortDescription>method creates Boxed primitive from primitive only to cast to another primitive type</ShortDescription>
- <LongDescription>method {1} creates Boxed primitive from primitive only to cast to another primitive type</LongDescription>
+ <ShortDescription>Method creates Boxed primitive from primitive only to cast to another primitive type</ShortDescription>
+ <LongDescription>Method {1} creates Boxed primitive from primitive only to cast to another primitive type</LongDescription>
<Details>
<![CDATA[
<p>This method constructs a Boxed Primitive from a primitive only to call the primitiveValue() method to
@@ -1572,8 +1572,8 @@
</BugPattern>
<BugPattern type="NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION">
- <ShortDescription>method needlessly boxes a boolean constant</ShortDescription>
- <LongDescription>method {1} needlessly boxes a boolean constant</LongDescription>
+ <ShortDescription>Method needlessly boxes a boolean constant</ShortDescription>
+ <LongDescription>Method {1} needlessly boxes a boolean constant</LongDescription>
<Details>
<![CDATA[
<p>This method assigns a Boxed boolean constant to a primitive boolean variable, or assigns a primitive boolean
@@ -1592,8 +1592,8 @@
</BugPattern>
<BugPattern type="USBR_UNNECESSARY_STORE_BEFORE_RETURN">
- <ShortDescription>method stores return result in local before immediately returning it</ShortDescription>
- <LongDescription>method {1} stores return result in local before immediately returning it</LongDescription>
+ <ShortDescription>Method stores return result in local before immediately returning it</ShortDescription>
+ <LongDescription>Method {1} stores return result in local before immediately returning it</LongDescription>
<Details>
<![CDATA[
<p>This method stores the return result in a local variable, and then immediately
@@ -1605,8 +1605,8 @@
</BugPattern>
<BugPattern type="COM_COPIED_OVERRIDDEN_METHOD">
- <ShortDescription>method is implemented with an exact copy of it's superclass's method</ShortDescription>
- <LongDescription>method {1} is implemented with an exact copy of it's superclass's method</LongDescription>
+ <ShortDescription>Method is implemented with an exact copy of it's superclass's method</ShortDescription>
+ <LongDescription>Method {1} is implemented with an exact copy of it's superclass's method</LongDescription>
<Details>
<![CDATA[
<p>This method is implemented using an exact copy of it's super class method's
@@ -1617,8 +1617,8 @@
</BugPattern>
<BugPattern type="ABC_ARRAY_BASED_COLLECTIONS">
- <ShortDescription>method uses array as basis of collection</ShortDescription>
- <LongDescription>method {1} uses array as basis of collection</LongDescription>
+ <ShortDescription>Method uses array as basis of collection</ShortDescription>
+ <LongDescription>Method {1} uses array as basis of collection</LongDescription>
<Details>
<![CDATA[
<p>This method passes an array as the key to a Map, element in a Set, or item in a List when
@@ -1632,8 +1632,8 @@
</BugPattern>
<BugPattern type="ODN_ORPHANED_DOM_NODE">
- <ShortDescription>method creates DOM node but doesn't attach it to a document</ShortDescription>
- <LongDescription>method {1} creates DOM node but doesn't attach it to a document</LongDescription>
+ <ShortDescription>Method creates DOM node but doesn't attach it to a document</ShortDescription>
+ <LongDescription>Method {1} creates DOM node but doesn't attach it to a document</LongDescription>
<Details>
<![CDATA[
<p>This method creates a DOM node but does not attach it to a DOM document.
@@ -1643,8 +1643,8 @@
</BugPattern>
<BugPattern type="AOM_ABSTRACT_OVERRIDDEN_METHOD">
- <ShortDescription>abstract method overrides a concrete implementation</ShortDescription>
- <LongDescription>abstract method {1} overrides a concrete implementation</LongDescription>
+ <ShortDescription>Abstract method overrides a concrete implementation</ShortDescription>
+ <LongDescription>Abstract method {1} overrides a concrete implementation</LongDescription>
<Details>
<![CDATA[
<p>This abstract method is derived from a concrete method implementation. It is highly
@@ -1655,8 +1655,8 @@
</BugPattern>
<BugPattern type="CBX_CUSTOM_BUILT_XML">
- <ShortDescription>method builds xml strings through adhoc concatenation</ShortDescription>
- <LongDescription>method {1} builds xml strings through adhoc concatenation</LongDescription>
+ <ShortDescription>Method builds xml strings through adhoc concatenation</ShortDescription>
+ <LongDescription>Method {1} builds xml strings through adhoc concatenation</LongDescription>
<Details>
<![CDATA[
<p>This method generates an xml based string by concatenating together various
@@ -1669,8 +1669,8 @@
</BugPattern>
<BugPattern type="BSB_BLOATED_SYNCHRONIZED_BLOCK">
- <ShortDescription>method overly synchronizes a block of code</ShortDescription>
- <LongDescription>method {1} overly synchronizes a block of code</LongDescription>
+ <ShortDescription>Method overly synchronizes a block of code</ShortDescription>
+ <LongDescription>Method {1} overly synchronizes a block of code</LongDescription>
<Details>
<![CDATA[
<p>This methods implements a synchronized block, but the code found at the beginning
@@ -1683,8 +1683,8 @@
</BugPattern>
<BugPattern type="CLI_CONSTANT_LIST_INDEX">
- <ShortDescription>method accesses list or array with constant index</ShortDescription>
- <LongDescription>method {1} accesses list or array with constant index</LongDescription>
+ <ShortDescription>Method accesses list or array with constant index</ShortDescription>
+ <LongDescription>Method {1} accesses list or array with constant index</LongDescription>
<Details>
<![CDATA[
<p>This method accesses an array or list using a constant integer index. Often,
@@ -1696,8 +1696,8 @@
</BugPattern>
<BugPattern type="SCR_SLOPPY_CLASS_REFLECTION">
- <ShortDescription>method accesses statically bound class with Class.forName</ShortDescription>
- <LongDescription>method {1} accesses statically bound class with Class.forName</LongDescription>
+ <ShortDescription>Method accesses statically bound class with Class.forName</ShortDescription>
+ <LongDescription>Method {1} accesses statically bound class with Class.forName</LongDescription>
<Details>
<![CDATA[
<p>This method accesses the class object of a class that is already statically bound
@@ -1709,8 +1709,8 @@
</BugPattern>
<BugPattern type="AWCBR_ARRAY_WRAPPED_CALL_BY_REFERENCE">
- <ShortDescription>method uses 1 element array to simulate call by reference</ShortDescription>
- <LongDescription>method {1} uses 1 element array to simulate call by reference</LongDescription>
+ <ShortDescription>Method uses 1 element array to simulate call by reference</ShortDescription>
+ <LongDescription>Method {1} uses 1 element array to simulate call by reference</LongDescription>
<Details>
<![CDATA[
<p>This method uses a one element array to wrap an object that is to be passed to a method as an argument
@@ -1721,8 +1721,8 @@
</BugPattern>
<BugPattern type="SG_SLUGGISH_GUI">
- <ShortDescription>method performs time consuming operation in gui thread</ShortDescription>
- <LongDescription>method {1} performs time consuming operation in gui thread</LongDescription>
+ <ShortDescription>Method performs time consuming operation in gui thread</ShortDescription>
+ <LongDescription>Method {1} performs time consuming operation in gui thread</LongDescription>
<Details>
<![CDATA[
<p>This method implements an awt or swing listener and performs time
@@ -1735,8 +1735,8 @@
</BugPattern>
<BugPattern type="NIR_NEEDLESS_INSTANCE_RETRIEVAL">
- <ShortDescription>method retrieves instance to load static member</ShortDescription>
- <LongDescription>method {1} retrieves instance to load static member</LongDescription>
+ <ShortDescription>Method retrieves instance to load static member</ShortDescription>
+ <LongDescription>Method {1} retrieves instance to load static member</LongDescription>
<Details>
<![CDATA[
<p>This method calls a method to load a reference to an object, and then only
@@ -1781,8 +1781,8 @@
</BugPattern>
<BugPattern type="SWCO_SUSPICIOUS_WAIT_ON_CONCURRENT_OBJECT">
- <ShortDescription>method calls wait when await was probably intended</ShortDescription>
- <LongDescription>method {1} calls wait when await was probably intended</LongDescription>
+ <ShortDescription>Method calls wait when await was probably intended</ShortDescription>
+ <LongDescription>Method {1} calls wait when await was probably intended</LongDescription>
<Details>
<![CDATA[
<p>This method calls wait() on a on mutex defined in the java.util.concurrent package.
@@ -1793,8 +1793,8 @@
</BugPattern>
<BugPattern type="JVR_JDBC_VENDOR_RELIANCE">
- <ShortDescription>method uses jdbc vendor specific classes and methods</ShortDescription>
- <LongDescription>method {1} uses jdbc vendor specific classes and methods</LongDescription>
+ <ShortDescription>Method uses jdbc vendor specific classes and methods</ShortDescription>
+ <LongDescription>Method {1} uses jdbc vendor specific classes and methods</LongDescription>
<Details>
<![CDATA[
<p>This method uses jdbc vendor specific classes and method to perform database work.
@@ -1804,8 +1804,8 @@
</BugPattern>
<BugPattern type="PMB_POSSIBLE_MEMORY_BLOAT">
- <ShortDescription>class defines static field that appears to allow memory bloat</ShortDescription>
- <LongDescription>class {0} defines static field that appears to allow memory bloat</LongDescription>
+ <ShortDescription>Class defines static field that appears to allow memory bloat</ShortDescription>
+ <LongDescription>Class {0} defines static field that appears to allow memory bloat</LongDescription>
<Details>
<![CDATA[
<p>This class defines static fields that are collections or StringBuffers that do not
@@ -1816,8 +1816,8 @@
</BugPattern>
<BugPattern type="LSYC_LOCAL_SYNCHRONIZED_COLLECTION">
- <ShortDescription>method creates local variable-based synchronized collection</ShortDescription>
- <LongDescription>method {1} creates local variable-based synchronized collection</LongDescription>
+ <ShortDescription>Method creates local variable-based synchronized collection</ShortDescription>
+ <LongDescription>Method {1} creates local variable-based synchronized collection</LongDescription>
<Details>
<![CDATA[
<p>This method creates a synchronized collection and store the reference to it
@@ -1836,8 +1836,8 @@
</BugPattern>
<BugPattern type="FCBL_FIELD_COULD_BE_LOCAL">
- <ShortDescription>class defines fields that are used only as locals</ShortDescription>
- <LongDescription>class {0} defines fields that are used only as locals</LongDescription>
+ <ShortDescription>Class defines fields that are used only as locals</ShortDescription>
+ <LongDescription>Class {0} defines fields that are used only as locals</LongDescription>
<Details>
<![CDATA[
<p>This class defines fields that are used in a locals only fashion,
@@ -1849,8 +1849,8 @@
</BugPattern>
<BugPattern type="NOS_NON_OWNED_SYNCHRONIZATION">
- <ShortDescription>class uses non owned variables to synchronize on</ShortDescription>
- <LongDescription>class {0} uses non owned variables to synchronize on</LongDescription>
+ <ShortDescription>Class uses non owned variables to synchronize on</ShortDescription>
+ <LongDescription>Class {0} uses non owned variables to synchronize on</LongDescription>
<Details>
<![CDATA[
<p>This method uses a synchronize block where the object that is being synchronized on,
@@ -2381,8 +2381,8 @@
</BugPattern>
<BugPattern type="SPP_USELESS_CASING">
- <ShortDescription>method compares string without case after enforcing a case</ShortDescription>
- <LongDescription>method {1} compares string without case after enforcing a case</LongDescription>
+ <ShortDescription>Method compares string without case after enforcing a case</ShortDescription>
+ <LongDescription>Method {1} compares string without case after enforcing a case</LongDescription>
<Details>
<![CDATA[
This method compares two strings with compareToIgnoreCase or equalsIgnoreCase, after having
@@ -2393,8 +2393,8 @@
</BugPattern>
<BugPattern type="SPP_NON_ARRAY_PARM">
- <ShortDescription>method passes a non array object to a parameter that expects an array</ShortDescription>
- <LongDescription>method {1} passes a non array object to a parameter that expects an array</LongDescription>
+ <ShortDescription>Method passes a non array object to a parameter that expects an array</ShortDescription>
+ <LongDescription>...
[truncated message content] |
|
From: <dbr...@us...> - 2010-09-23 10:50:27
|
Revision: 1620
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1620&view=rev
Author: dbrosius
Date: 2010-09-23 10:50:21 +0000 (Thu, 23 Sep 2010)
Log Message:
-----------
spilleng
Modified Paths:
--------------
trunk/fb-contrib/etc/messages.xml
Modified: trunk/fb-contrib/etc/messages.xml
===================================================================
--- trunk/fb-contrib/etc/messages.xml 2010-09-22 06:31:36 UTC (rev 1619)
+++ trunk/fb-contrib/etc/messages.xml 2010-09-23 10:50:21 UTC (rev 1620)
@@ -2866,7 +2866,7 @@
<LongDescription>Method {1} uses the same HttpRequest parameter name but with different casing</LongDescription>
<Details>
<![CDATA[
- <p>This method fetches an HttpServletRequest parameter with a parmeter name that was used in other locations
+ <p>This method fetches an HttpServletRequest parameter with a parameter name that was used in other locations
but with a different casing. As HttpServletRequest parameters are case sensitive, this will be very confusing.
]]>
</Details>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2010-12-09 05:04:58
|
Revision: 1648
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1648&view=rev
Author: dbrosius
Date: 2010-12-09 05:04:52 +0000 (Thu, 09 Dec 2010)
Log Message:
-----------
better PL_PARALLEL_LISTS bug pattern message
Modified Paths:
--------------
trunk/fb-contrib/etc/messages.xml
Modified: trunk/fb-contrib/etc/messages.xml
===================================================================
--- trunk/fb-contrib/etc/messages.xml 2010-11-24 23:16:31 UTC (rev 1647)
+++ trunk/fb-contrib/etc/messages.xml 2010-12-09 05:04:52 UTC (rev 1648)
@@ -1351,7 +1351,8 @@
<![CDATA[
<p>This class appears to maintain two or more lists or arrays who's contains is related one-for-one
through the index of the list or array. Consider creating a separate class to hold all the related
- pieces of information, and adding instances of this class to just one list or array.</p>
+ pieces of information, and adding instances of this class to just one list or array, or if just two values, use
+ a Map to associate one value with the other.</p>
]]>
</Details>
</BugPattern>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dbr...@us...> - 2011-08-23 10:31:37
|
Revision: 1704
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1704&view=rev
Author: dbrosius
Date: 2011-08-23 10:31:31 +0000 (Tue, 23 Aug 2011)
Log Message:
-----------
better grammar
Modified Paths:
--------------
trunk/fb-contrib/etc/messages.xml
Modified: trunk/fb-contrib/etc/messages.xml
===================================================================
--- trunk/fb-contrib/etc/messages.xml 2011-08-12 02:24:58 UTC (rev 1703)
+++ trunk/fb-contrib/etc/messages.xml 2011-08-23 10:31:31 UTC (rev 1704)
@@ -3073,7 +3073,7 @@
<LongDescription>Method {1} calls InetAddress.getLocalHost(), which may be a security risk</LongDescription>
<Details>
<![CDATA[
- <p>Do not call <code>InetAddress.getLocalHost()</code> on multihomed servers. On a multihomed server, <code>InetAddress.getLocalHost()</code> simply returns the IP address associated with the server's internal hostname. This could any of the network interfaces, which could expose the machine to security risks. Server applications that need to listen on sockets should add configurable properties to define which network interfaces the server should bind.</p>
+ <p>Do not call <code>InetAddress.getLocalHost()</code> on multihomed servers. On a multihomed server, <code>InetAddress.getLocalHost()</code> simply returns the IP address associated with the server's internal hostname. This could be any of the network interfaces, which could expose the machine to security risks. Server applications that need to listen on sockets should add configurable properties to define which network interfaces the server should bind.</p>
]]>
</Details>
</BugPattern>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|