mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
merged CVS and Subversion versions
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of abstract classes which extend concrete classes.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of abstract classes without abstract methods.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any calls of abstract methods within a constructor of an
|
||||
abstract class. Such calls may result in subtle bugs, as the object is not guaranteed to be initialized
|
||||
before the method call occurs.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of abstract methods which override abstract methods.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+4
-2
@@ -1,6 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of abstract methods which override concrete methods.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
Methods overridden from <b><font color="#000080">java.lang.Object</font></b> are not reported
|
||||
by this inspection.
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any uses of annotations.
|
||||
Annotations are not supported under Java 1.4 or earlier JVMs.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of annotation interfaces.
|
||||
Such interfaces are not supported under Java 1.4 or earlier JVMs.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of anonymous inner classes with too high of a total complexity. The
|
||||
total complexity of a class is the sum of the cyclomatic complexities of all the methods
|
||||
@@ -7,5 +7,6 @@ and initializers the class declares. Inherited methods and initializers are not
|
||||
toward the total complexity. Anonymous classes with more than very low complexities may be
|
||||
difficult to understand, and should probably be promoted to become named inner classes.
|
||||
<p>
|
||||
Use the field provided below to specify the maximum acceptable complexity a class might have.</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
Use the field provided below to specify the maximum acceptable complexity a class might have.
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,10 +1,11 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of anonymous inner class with too many methods.
|
||||
Anonymous classes with more than a very low number of methods may be
|
||||
difficult to understand, and should probably be promoted to become named inner classes.
|
||||
<p>
|
||||
Use the field provided below to specify the maximum acceptable number of methods
|
||||
an anonymous inner class might have.</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
an anonymous inner class might have.
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any anonymous inner classes. Some code standards discourage
|
||||
the use of anonymous inner classes.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,8 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of variables, methods, or classes named
|
||||
<b><font color="#000080">assert</font></b>. Such names are legal under Java 1.3 or
|
||||
earlier JVMs, but will cause problems under Java 1.4 or later.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of <b><font color="#000080">assert</font></b> statements.
|
||||
Such statements are not supported under Java 1.3 or earlier JVMs.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,9 +1,9 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of calls to JUnit <b><font color="#000080"> assertXXX()</font></b> methods that don't
|
||||
report an error message on assertion failure. Error messages may help clarify the test case's
|
||||
intent.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of assignment to variable declared as a catch block parameter.
|
||||
This inspection reports any instances of assignment to variable declared as a catch block parameter.
|
||||
While occasionally intended, this construct can be confusing.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-3
@@ -1,10 +1,9 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any attempt to assign an array or <b><font color="#000080">Collection</font></b> field from a method parameter.
|
||||
Since the array or <b><font color="#000080">Collection</font></b> may have it's contents modified by the calling method, this construct may
|
||||
result in an object having it's state modified unexpectedly. While occasionally useful for performance
|
||||
reasons, this construct is inherently bug-prone.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-3
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any attempt to assign a <b><font color="#000080">java.lang.Date</font></b> or
|
||||
<b><font color="#000080">java.lang.Calendar</font></b> field from a method parameter.
|
||||
@@ -7,6 +7,5 @@ Since <b><font color="#000080">Date</font></b> or <b><font color="#000080">Calen
|
||||
treated as immutable values but are actually mutable, assigning to such a field from a method parameter may
|
||||
result in an object having it's state modified unexpectedly. While occasionally useful for performance
|
||||
reasons, this construct is inherently bug-prone.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-3
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of assignment a variable declared in a <b><font color="#000080">for</font></b> statement
|
||||
in the body of that statement. It also reports any attempt to increment or decrement the variable.
|
||||
While occasionally intended, this construct can be extremely confusing, and is often the result of a typo.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-3
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of assignment to a
|
||||
variable declared as a method parameter. It also reports any attempt to increment or decrement the variable.
|
||||
While occasionally intended, this construct can be extremely confusing, and is often the result of a typo.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,10 +1,9 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of the assignment of a variable to <b><font color="#000080">null</font></b>, outside of declarations.
|
||||
While occasionally useful for triggering garbage collection, this construct may make the code more prone
|
||||
to NullPointerExceptions, and often indicates that the developer doesn't really understand the classes
|
||||
intended semantics.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,11 +1,10 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of an assignment being
|
||||
used as the condition of an <b><font color="#000080">if</font></b>, <b><font color="#000080">while</font></b>, <b><font color="#000080">for</font></b> or
|
||||
<b><font color="#000080">do</font></b> statement. While occasionally intended,
|
||||
this usage is confusing, and often indicates a typo
|
||||
(<b><font color="#000080">=</font></b> instead of <b><font color="#000080">==</font></b>).
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of "auto-boxing", e.g. the automatic wrapping of primitive values as objects, where needed.
|
||||
Code which relies on auto-boxing will not work in pre-Java 5.0 environments.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of "auto-unboxing", e.g. the automatic unwrapping of objects into primitive values, where needed.
|
||||
Code which relies on auto-boxing will not work in pre-Java 5.0 environments.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of <b><font color="#000080">.equals()</font></b> being called
|
||||
to compare two <b><font color="#000080">java.math.BigDecimal</font></b> numbers. This is normaly
|
||||
@@ -7,6 +7,5 @@ a mistake, as two <b><font color="#000080">java.math.BigDecimal</font></b>s are
|
||||
they are equal in both value and scale, so that 2.0 is not equal to 2.00
|
||||
To compare <b><font color="#000080">java.math.BigDecimal</font></b>s for mathematical equality,
|
||||
use <b><font color="#000080">.compareTo()</font></b> instead.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any attempt to instantiate a new Boolean object. Constructing
|
||||
new Boolean objects is rarely necessary, and may cause
|
||||
performance problems if done often enough.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of <b><font color="#000080">break</font></b> statements,
|
||||
other than at the end of a <b><font color="#000080">switch</font></b> statement branch.
|
||||
<b><font color="#000080">break</font></b> statements complicate refactoring, and can be confusing.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of <b><font color="#000080">break</font></b> statements with labels.
|
||||
Labeled <b><font color="#000080">break</font></b> statements complicate refactoring, and can be confusing.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports instances of calls to java.lang.Thread.sleep() that occur inside loops. Such calls
|
||||
are indicative of "busy-waiting". Busy-waiting is often inefficient, and may result in unexpected deadlocks
|
||||
as busy-waiting threads do not release locked resources.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports array declarations made using C-style syntax, with the array indicator attached to the variable,
|
||||
rather than Java-style syntax, with the array indicator attached to the type.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of cast operations between built-in numeric types which may
|
||||
result in loss of precision. Such casts are not necessarily a problem, but may result in difficult to
|
||||
trace bugs if the loss of precision is unexpected.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,8 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of casting a value to a concrete class, rather than an interface.
|
||||
Such declarations may represent a failure of abstraction, and may make testing more difficult.
|
||||
Declarations whose classes come from system or third-party libraries will not be reported by this inspection.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports instances where a generic exception class is caught. For clarity and
|
||||
precision, it is recommended that specific exception classes be caught instead of generic ones.
|
||||
@@ -9,6 +9,5 @@ This inspection reports <b><font color="#000080">catch</font></b> blocks with ar
|
||||
<li><b><font color="#000080">java.lang.Exception</font></b></li>
|
||||
<li><b><font color="#000080">java.lang.RuntimeException</font></b></li>
|
||||
</ul>
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of chained equality comparisons (i.e. a==b==c).
|
||||
Such comparisons are confusing.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of method calls whose target is another
|
||||
method call.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any ordinal comparison of <b><font color="#000080">char</font></b> values. In an internationalized
|
||||
environment, such comparisons are rarely correct.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of checked exception classes (i.e. subclasses of <b><font color="#000080">Exception</font></b> which are
|
||||
not also subclasses of <b><font color="#000080">RuntimeException</font></b>). Certain coding standards require that all user-defined exception
|
||||
classes be unchecked.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,10 +1,10 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of class with too high of a total complexity. The
|
||||
total complexity of a class is the sum of the cyclomatic complexities of all the methods
|
||||
and initializers the class declares. Inherited methods and initializers are not counted
|
||||
toward the total complexity.
|
||||
<p>
|
||||
Use the field provided below to specify the maximum acceptable complexity a class might have.</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
Use the field provided below to specify the maximum acceptable complexity a class might have.</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,12 +1,11 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of classes which are highly coupled, i.e. that reference too many other classes.
|
||||
Classes with too high a coupling can be very fragile, and should probably be broken up. References to system classes
|
||||
(those in the <b><font color="#000080">java.</font></b>or <b><font color="#000080">javax.</font></b> packages), are not
|
||||
(those in the <b><font color="#000080">java.</font></b>or <b><font color="#000080">javax.</font></b> packages), are not
|
||||
counted for purposes of this inspection.
|
||||
<p>
|
||||
Use the field provided below to specify the maximum acceptable coupling a class might have.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,10 +1,10 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any references to classes which allow the class name to
|
||||
be used outside the class's stated scope. For instance, this inspection would report
|
||||
a public method which returns a private inner class, or a protected field whose
|
||||
type is a package-visible class. While legal Java, such references can be very
|
||||
confusing, and make reuse difficult.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,6 +1,6 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">This inspection reports any classes
|
||||
which do not contain package declarations.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,8 +1,9 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of class too deep in the inheritance hierarchy. Classes too deeply inherited
|
||||
may be confusing, and are a good sign that refactoring may be necessary.
|
||||
<p>
|
||||
Use the field provided below to specify the maximum acceptable inheritance depth a class might have.</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
Use the field provided below to specify the maximum acceptable inheritance depth a class might have.
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,10 +1,10 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any of non-<b><font color="#000080">static</font></b> initializers
|
||||
in classes. Some coding standards prohibit such initializers, prefering initialization to be done
|
||||
in constructors or field initializers. Non-<b><font color="#000080">static</font></b> initializers
|
||||
may also be inadvertantly created by deleting the <b><font color="#000080">static</font></b> keyword,
|
||||
resulting in obscure bugs.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,9 +1,9 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">This inspection reports any concrete or abstract classes
|
||||
which may be simplified to be interfaces. This occurs if the class has no superclass (other
|
||||
than Object), has no fields declared that are not <b><font color="#000080">static</font></b>, <b><font color="#000080">final</font></b>, and <b><font color="#000080">public</font></b>, and has no
|
||||
methods declared that are not <b><font color="#000080">public</font></b> and <b><font color="#000080">abstract</font></b>, and no inner classes
|
||||
that cannot themselves be interfaces.</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
that cannot themselves be interfaces.
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+3
-3
@@ -1,9 +1,9 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of top-level class names which do not match the name of
|
||||
This inspection reports any instances of top-level class names which do not match the name of
|
||||
their containing file. While the Java specification allows such naming for non-<b><font color="#000080">public</font></b> classes,
|
||||
such misnamed files can be confusing, and may degrade the usefulness of various
|
||||
software tools.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-3
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of classes whose names are prefixed with their package names, irrespective of
|
||||
capitalization. While occasionally reasonable, this is often due to a poor naming scheme, and may be redundant and
|
||||
annoying.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-3
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of class being named identically to one of their
|
||||
super classes (but in different packages). Such class name may be very confusing.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,11 +1,10 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports instances of classes whose names are either too short, too long, or do not follow
|
||||
the specified regular expression pattern.
|
||||
<p>
|
||||
Use the fields provided below to specify mininum length, maximum length and regular expression expected for class names.
|
||||
(Regular expressions are in standard <b><font color="#000080">java.util.regex</font></b> format.)
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,8 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of inner classes too deeply nested. Nesting inner classes inside
|
||||
inner classes is almost certain to be confusing, and is a good sign that refactoring may be necessary.
|
||||
<p>
|
||||
Use the field provided below to specify the maximum acceptable nesting depth a class might have.</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
Use the field provided below to specify the maximum acceptable nesting depth a class might have.</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of classes which contain references to one of their subclasses.
|
||||
Such references may be confusing, and violate several rules of object-oriented design.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of classes which have multiple loggers declared.
|
||||
Ensuring that every class has a single dedicated logger is an important step in providing a unified logging
|
||||
@@ -8,5 +8,5 @@ enumerations, annotations, inner classes, and abstract classes are not reported
|
||||
<p>
|
||||
Use the field below to specify the name of the class which will be used for logging in this project.
|
||||
Classes which do declare multiple fields of that class will be reported by this inspection.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of a classes without constructors. Some coding standards prohibit such classes.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of classes which do not have a logger declared.
|
||||
Ensuring that every class has a dedicated logger is an important step in providing a unified logging
|
||||
@@ -7,5 +7,5 @@ implementation for an application. Interfaces, enumerations, annotations, inne
|
||||
<p>
|
||||
Use the field below to specify the name of the class which will be used for logging in this project.
|
||||
Classes which do not declare a field of that class will be reported by this inspection.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+3
-4
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of a classes without a no-argument constructor.
|
||||
Such constructors are necessary in some contexts if a class is to be created reflexively.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
Such constructors are necessary in some contexts if a class is to be created reflexively.
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports instances classes which do not implement the <b><font color="#000080">toString()</font></b> method.
|
||||
It is handy to have all classes implement <b><font color="#000080">toString()</font></b> for debugging purposes.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,10 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports instances of calls to object constructors inside <b><font color="#000080">clone()</font></b> methods.
|
||||
Instantiation of objects inside of <b><font color="#000080">clone()</font></b> should be done by calling <b><font color="#000080">clone()</font></b>,
|
||||
instead of creating the object directly, to support later subclassing.
|
||||
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports instances of <b><font color="#000080">clone()</font></b> methods which do not call <b><font color="#000080">super.clone()</font></b>.
|
||||
Cloning an object without calling <b><font color="#000080">super.clone()</font></b> may result in objects being improperly initialized.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-3
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports instances of <b><font color="#000080">clone()</font></b> methods which are not declared as throwing the
|
||||
<b><font color="#000080">CloneNotSupportedException</font></b>. If <b><font color="#000080">clone()</font></b> is not declared
|
||||
@@ -8,6 +8,5 @@ prohibit cloning will not be able to do so in the standard way. This inspection
|
||||
<b><font color="#000080">clone()</font></b> methods declared <b><font color="#000080">final</font></b>,
|
||||
or <b><font color="#000080">clone()</font></b> methods on <b><font color="#000080">final</font></b> classes.
|
||||
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-3
@@ -1,10 +1,9 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of classes which may be cloned. A class
|
||||
may be cloned if it supports the <b><font color="#000080">Cloneable</font></b> interface,
|
||||
and its <b><font color="#000080">clone()</font></b> method is not defined to immediately
|
||||
throw an error. Cloneable classes may be dangerous in code intended for secure use.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports classes which implement the <b><font color="#000080">Cloneable</font></b> interfaces, but which do not override the
|
||||
<b><font color="#000080">clone()</font></b> method. Such classes use the default implementation of <b><font color="#000080">clone()</font></b>, which is often not the desired
|
||||
behaviour.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-3
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any attempt to instantiate a new <b><font color="#000080">Collection</font></b> object without specifying
|
||||
an initial capacity. If no initial capacity is specified, a default capacity is used, which will rarely be optimal. Failing
|
||||
@@ -14,6 +14,5 @@ memory copied when capacity is exceeded. This inspection checks allocations of
|
||||
<li><b><font color="#000080">java.util.Vector</font></b>
|
||||
<li><b><font color="#000080">java.util.WeakHashMap</font></b>
|
||||
</ul>
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+3
-3
@@ -1,9 +1,9 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any implementations of <b><font color="#000080">compareTo()</font></b> which access
|
||||
non-<b><font color="#000080">final</font></b> variables. Such access may result in <b><font color="#000080">compareTo()</font></b>
|
||||
returning different results at different points in an object's lifecycle, which may in turn cause problems when
|
||||
returning different results at different points in an object's lifecycle, which may in turn cause problems when
|
||||
using the standard Collections classes.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,9 +1,9 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of equality comparisons between
|
||||
<b><font color="#000080">short</font></b> and <b><font color="#000080">char</font></b> values.
|
||||
Such comparisons may cause subtle bugs, as <b><font color="#000080">short</font></b> values are
|
||||
signed and <b><font color="#000080">char</font></b> values unsigned.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of the ternary condition operator. Some coding standards prohibit the use of
|
||||
the condition operator, in favor of <b><font color="#000080">if-else</font></b> statements.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,11 +1,9 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of confusing <b><font color="#000080">else</font></b> branches. Confusing <b><font color="#000080">else</font></b>
|
||||
branches are branches of <b><font color="#000080">if</font></b> statements whose <b><font color="#000080">if</font></b> branch cannot complete normally and
|
||||
which are followed by other statements. In these cases, the statements following the
|
||||
<b><font color="#000080">if</font></b> statement may be moved into the <b><font color="#000080">else</font></b> branch, for increased clarity.
|
||||
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any floating point numbers which do not have a decimal point, numbers before the decimal point,
|
||||
and numbers after the decimal point. Such literals may be confusing, and violate several coding standards.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of methods named "main" which do not have signature
|
||||
public static void main(String[]). Such methods may be confusing, as methods named "main"
|
||||
are expected to be application entry points.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any string literals which contain an octal escape sequence immediately followed by
|
||||
a digit. Such strings may be confusing, and are often the result of errors in escape code creation.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-3
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports on any constants (i.e. public static final fields) declared in abstract classes. Some coding
|
||||
standards require that constants be declared in interfaces instead.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-3
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports on any constants (i.e. public static final fields) declared in interfaces. Some coding
|
||||
standards require that constants be declared in abstract classes instead.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,11 +1,10 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports instances of constants whose names are either too short, too long, or do not follow
|
||||
the specified regular expression pattern. Constants are variables of immutable type declared <b><font color="#000080">static final</font></b>.
|
||||
<p>
|
||||
Use the fields provided below to specify mininum length, maximum length and regular expression expected for constant names.
|
||||
(Regular expressions are in standard <b><font color="#000080">java.util.regex</font></b> format.)
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports on comparison operations with constant values on their left-hand side. Some coding conventions
|
||||
specify that constants should be on the right-hand side of comparisons.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports on comparison operations with constant values on their right-hand side. Some coding conventions
|
||||
specify that constants should be on the left-hand side of comparisons.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,9 +1,10 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of class with too many constructors. Classes with
|
||||
too many constructors are prone to initialization errors, and may often be better modeled as
|
||||
multiple subclasses.
|
||||
<p>
|
||||
Use the field provided below to specify the maximum acceptable number of constructors class might have.</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
Use the field provided below to specify the maximum acceptable number of constructors class might have.
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-3
@@ -1,10 +1,9 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of <b><font color="#000080">break</font></b> or <b><font color="#000080">continue</font></b> statements
|
||||
inside of <b><font color="#000080">finally</font></b>
|
||||
blocks. While occasionally intended, such statements are very confusing, may mask exceptions thrown, and
|
||||
tremendously complicate debugging.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,6 +1,6 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">This inspection reports any instances of <b><font color="#000080">continue</font></b> statements.
|
||||
<b><font color="#000080">continue</font></b> statements complicate refactoring, and can be confusing.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">This inspection reports any instances of <b><font color="#000080">continue</font></b> statements with labels.
|
||||
Labeled <b><font color="#000080">continue</font></b> statements complicate refactoring, and can be confusing.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">This inspection reports any instances of a class having a <b><font color="#000080">compareTo()</font></b>
|
||||
method taking an argument other than <b><font color="#000080">java.lang.Object</font></b>, if the class does not have a <b><font color="#000080">compareTo()</font></b> method
|
||||
which does take <b><font color="#000080">java.lang.Object</font></b> as its argument. Normally, this is a mistake.</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
which does take <b><font color="#000080">java.lang.Object</font></b> as its argument. Normally, this is a mistake.
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">This inspection reports any instances of a class having a <b><font color="#000080">equals()</font></b>
|
||||
method taking an argument other than <b><font color="#000080">java.lang.Object</font></b>, if the class does not have a <b><font color="#000080">equals()</font></b> method
|
||||
which does take <b><font color="#000080">java.lang.Object</font></b> as it's argument. Normally, this is a mistake.</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
which does take <b><font color="#000080">java.lang.Object</font></b> as it's argument. Normally, this is a mistake.
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,11 +1,10 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of methods that have too high a cyclomatic complexity. Cyclomatic
|
||||
complexity is basically a measurement of the number of branching points in a method. Methods with too high
|
||||
a cyclomatic complexity may be confusing and difficult to test.
|
||||
<p>
|
||||
Use the field provided below to specify the maximum acceptable cyclomatic complexity a method might have.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any call of <b><font color="#000080">toString()</font></b> on <b><font color="#000080">java.util.Date</font></b> objects. Such calls are usually
|
||||
incorrect in an internationalized environment.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-3
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports on declarations of Collection variables made by using the collection class as the type,
|
||||
rather than an appropriate interface.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">This inspection reports any instances of <b><font color="#000080">switch</font></b> statements where the <b><font color="#000080">default</font></b> case
|
||||
comes before some other case. This construct is unnecessarily confusing.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-3
@@ -1,10 +1,9 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of classes which may be deserialized. A class
|
||||
may be deserialized if it supports the <b><font color="#000080">Serializable</font></b> interface,
|
||||
and its <b><font color="#000080">readObject()</font></b> method is not defined to immediately
|
||||
throw an error. Deserializable classes may be dangerous in code intended for secure use.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,8 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of identifers containing dollar signs ('$'). While
|
||||
such identifiers are legal Java, their use outside of generated java code is strongly discouraged.
|
||||
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,11 +1,9 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of the double-checked locking construct. For a
|
||||
discussion of double-checked locking and why it is unsafe, see
|
||||
<a href = "http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html
|
||||
">http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html</a>
|
||||
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,11 +1,10 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports instances of empty <b><font color="#000080">catch</font></b> blocks. While occasionally intended, this
|
||||
empty <b><font color="#000080">catch</font></b> blocks can make debugging extremely difficult.
|
||||
<p>
|
||||
Use the controls below to indicate whether catch blocks containing only comments should be reported,
|
||||
and whether empty catch blocks in JUnit tests should be reported.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any empty classes. A class is empty if it
|
||||
doesn't have any fields, methods or constructors. Empty classes are often left over
|
||||
after large changes or refactorings.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,8 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports instances of empty <b><font color="#000080">finally</font></b> blocks. Empty <b><font color="#000080">finally</font></b> blocks
|
||||
usually indicate coding errors.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports instances of empty class initializer blocks.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
This inspection reports instances of empty class initializer blocks.
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,11 +1,10 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">This inspection reports any instances of <b><font color="#000080">if</font></b>,
|
||||
<b><font color="#000080">while</font></b>, <b><font color="#000080">do</font></b> or <b><font color="#000080">for</font></b> statements
|
||||
having empty bodies. While occasionally intended, this construction is confusing, and often the result of a typo.
|
||||
<p>
|
||||
Use the checkbox below to indicate whether this inspection should report statements whose body is an
|
||||
empty code block, rather than just empty statements.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">This inspection reports any instances of <b><font color="#000080">synchronized</font></b> statements
|
||||
having empty bodies. While theoretically this may be the semantics intended, this construction is
|
||||
confusing, and often the result of a typo.</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
confusing, and often the result of a typo.
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of empty <b><font color="#000080">try</font></b> blocks.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,8 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of variables, methods, or classes named
|
||||
<b><font color="#000080">enum</font></b>. Such names are legal under Java 1.4 or
|
||||
earlier JVMs, but will cause problems under Java 5.0 or later.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of <b><font color="#000080">enum</font></b> classes.
|
||||
Such statements are not supported under Java 1.4 or earlier JVMs.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-3
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports instances of calls to <b><font color="#000080">.equals()</font></b> where the target and argument are
|
||||
of incompatible types. While such a call might theoretically be useful, most likely it represents
|
||||
a bug.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+3
-3
@@ -1,9 +1,9 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any implementations of <b><font color="#000080">equals()</font></b> which access
|
||||
non-<b><font color="#000080">final</font></b> variables. Such access may result in <b><font color="#000080">equals()</font></b>
|
||||
returning different results at different points in an object's lifecycle, which may in turn cause problems when
|
||||
returning different results at different points in an object's lifecycle, which may in turn cause problems when
|
||||
using the standard Collections classes.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
@@ -1,8 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">This inspection reports any instances of <b><font color="#000080">try</font></b> statements which catch
|
||||
<b><font color="#000080">java.lang.Error</font></b> or any subclass and which do not rethrow the error.
|
||||
Statements which catch <b><font color="#000080">java.lang.ThreadDeath</font></b> are not
|
||||
reported by this inspection.
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-3
@@ -1,11 +1,10 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports on instances of exceptions constructed and thrown
|
||||
from inside <b><font color="#000080">catch</font></b> blocks, which do not "wrap" the caught
|
||||
exception. It is considered good practice when throwing an exception in response to an exception
|
||||
to wrap the initial exception, so that valuable context information
|
||||
such as stack frames and line numbers are not lost.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-3
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of exception classes whose names don't end with 'Exception'.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any classes explicitly declared to extend <b><font color="#000080">java.lang.Object</font></b>.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
+2
-3
@@ -1,9 +1,8 @@
|
||||
<html>
|
||||
<body><table height="170"> <tr height="150"> <td valign = "top" height="150">
|
||||
<body><table> <tr> <td valign = "top" height="150">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports on instances of <b><font color="#000080">Externalizable</font></b> classes which define <b><font color="#000080">readObject()</font></b>
|
||||
or <b><font color="#000080">writeObject()</font></b> methods. These methods are not called for serialization of
|
||||
<b><font color="#000080">Externalizable</font></b> objects.
|
||||
</font>
|
||||
</td> </tr> <tr height="20"> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
</html>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user