mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
inspection descriptions: remove table height=150 (IDEA-63076)
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of abstract classes which extend concrete classes.
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports abstract classes which have no
|
||||
concrete subclasses.
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-2">
|
||||
This inspection is intended for J2ME and other highly resource constrained environments.
|
||||
Applying the results of this inspection without consideration might have negative effects on code clarity and design.
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of abstract classes without abstract methods.
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of abstract methods which override abstract methods. Methods with
|
||||
different return types or exception declarations than the method they override are not
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of abstract methods which override concrete methods.
|
||||
Methods overridden from <b><font color="#000080">java.lang.Object</font></b> are not reported
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr > <td valign="top" height="150">
|
||||
<body><table> <tr > <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any abstract methods which are not implemented in every concrete
|
||||
subclass. This is a compile-time error on the subclasses, while this inspection
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports on any access to a <b><font color="#000080">static</font></b> field
|
||||
of any non-threadsafe type specified below, which is accessed from an instance field or a
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports on any access to a non-constant <b><font color="#000080">static</font></b> field which is
|
||||
locked on either <b><font color="#000080">this</font></b> or an instance field of <b><font color="#000080">this</font></b>.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table><tr><td valign="top" height="150">
|
||||
<body><table><tr><td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any method calls to super methods where a method
|
||||
with the same name is available in the surrounding class. In this case a cursory
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any uses of annotations.
|
||||
Annotations are not supported under Java 1.4 or earlier JVMs.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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.
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports annotation classes whose names are either too short, too long, or do not follow
|
||||
the specified regular expression pattern.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of anonymous class variables being named identically to variables of a containing method.
|
||||
Such a variable name may be confusing.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any anonymous inner classes.
|
||||
Some code standards discourage the use of anonymous inner classes.
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-2">
|
||||
This inspection is intended for J2ME and other highly resource constrained environments.
|
||||
Applying the results of this inspection without consideration might have negative effects on code clarity and design.
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any calls to Integer.getInteger() or Boolean.getBoolean().
|
||||
These methods fetch integer and boolean values from the
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of <b><font color="#000080">.equals()</font></b> being called
|
||||
to compare two arrays. Calling <b><font color="#000080">.equals()</font></b> on an array
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-2">
|
||||
This inspection is intended for J2ME and other highly resource constrained environments.
|
||||
Applying the results of this inspection without consideration might have negative effects on code clarity and design.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any calls to JUnit's <b><font color="#000080">assertEquals()</font></b>
|
||||
method where the expected result and actual result arguments are of incompatible
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any calls to JUnit's <b><font color="#000080">assertEquals()</font></b>
|
||||
method with arguments of type array. Arrays should be checked with one of the
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any calls to <b><font color="#000080">org.junit.Assert.assertEquals()</font></b>
|
||||
or <b><font color="#000080">junit.framework.Assert.assertEquals()</font></b> which
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any <b><font color="#000080">assert</font></b> statements
|
||||
that cause side effects outside of the assert statement. Since assertions can be
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of calls to JUnit <b><font color="#000080">assertXXX()</font></b> or
|
||||
<b><font color="#000080">fail()</font></b> methods that don't
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of assignment to variable declared as a <b><font color="#000080">catch</font></b> block parameter.
|
||||
While occasionally intended, this construct can be confusing.
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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 its contents modified by the calling method, this construct may
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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.
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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.
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table><tr><td valign="top" height="150">
|
||||
<body><table><tr><td valign="top">
|
||||
<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.
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html><body><table>
|
||||
<tr><td valign="top" height="150"><font face="verdana" size="-1">
|
||||
<tr><td valign="top"><font face="verdana" size="-1">
|
||||
|
||||
This inspection reports any assignments to
|
||||
<b><font color="#000080">static</font></b> fields from within
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of "auto-boxing", i.e. 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.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports on any call to <b><font color="#000080">java.util.concurrent.locks.Condition.await()</font></b> not made inside a loop.
|
||||
<b><font color="#000080">await()</font></b> and related methods are normally
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports on any call to <b><font color="#000080">Condition.signal()</font></b>
|
||||
or <b><font color="#000080">Condition.signalAll()</font></b>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of <b><font color="#000080">catch</font></b> clauses
|
||||
which catch inappropriate exceptions. Some exceptions, for instance
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of methods which declare inappropriate
|
||||
exceptions. One use of this inspection would be to warn of
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of <b><font color="#000080">throw</font></b> statements
|
||||
which throw inappropriate exceptions. One use of this inspection would be to warn of
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any checks for oddness of the form <b><font color="#000080">x % 2 == 1</font></b>.
|
||||
Such checks will fail for negative odd values, which is probably not the behaviour intended. Consider using
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of JUnit 4.0 <b><font color="#000080">@BeforeClass</font></b> or <b><font color="#000080">@AfterClass</font></b> method
|
||||
is not declared
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of JUnit 4.0 <b><font color="#000080">@Before</font></b> or <b><font color="#000080">@After</font></b> method
|
||||
is not declared
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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 normally
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any attempt to instantiate a new <b><font color="#000080">Boolean</font></b>
|
||||
object. Constructing new <b><font color="#000080">Boolean</font></b> objects is rarely necessary,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This global inspection reports any boolean fields which are always negated when read.
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets</font> </td> </tr> </table> </body>
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of boolean methods whose names do not start with a question
|
||||
word. Boolean methods that override library methods are ignored by this inspection.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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.
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any attempt to instantiate a new <b><font color="#000080">Long</font></b>,
|
||||
<b><font color="#000080">Integer</font></b>, <b><font color="#000080">Short</font></b> or
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any to methods declared <b><font color="#000080">native</font></b> while in
|
||||
a synchronized block or method. While not necessarily representing a problem, such calls cause
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any calls to a simple property getter from within the property's class.
|
||||
A simple property getter is defined as one which simply returns the value of a field,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any calls to a simple property setter from within the property's class.
|
||||
A simple property setter is defined as one which simply assigns a the value of its parameter to a field,
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports calls to the <b><font color="#000080">concat</font></b> method
|
||||
of a <b><font color="#000080">java.lang.String</font></b> object. Such calls can be
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports type cast expressions which are surrounded by an
|
||||
<b><font color="#000080">instanceof</font></b> check for a different type.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any 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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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.
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports type cast expressions where
|
||||
the cast type is an interface, and the cast expression has a class type which neither
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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.
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any <b><font color="#000080">catch</font></b> block where
|
||||
the caught exception is immediately rethrown, without performing any action on it.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of chained equality comparisons (i.e. <b><font color="#000080">a==b==c</font></b>).
|
||||
Such comparisons are confusing.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instances of method calls whose target is another
|
||||
method call.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any <b><font color="#000080">Channel</font></b> which is not opened in
|
||||
front of a <b><font color="#000080">try</font></b> block and closed in the corresponding
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports on any expressions of type char which are used in
|
||||
addition or substraction expressions.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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.
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-2">
|
||||
This inspection is intended for J2ME and other highly resource constrained environments.
|
||||
Applying the results of this inspection without consideration might have negative effects on code clarity and design.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">This inspection reports any classes
|
||||
which do not contain package declarations.
|
||||
</font></td> </tr> <tr> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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. This inspection counts all superclasses
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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, preferring initialization to be done
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any class initializers which may safely be made <b><font color="#000080">static</font></b>.
|
||||
A class initializer may be static if it does not reference any of its class' non static methods
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any instantiations of <b><font color="#000080">java.lang.ClassLoader</font></b> objects.
|
||||
While often benign, any instantiations to <b><font color="#000080">ClassLoader</font></b> should be closely examined in any security audit.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
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,
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports classes whose names are either too short, too long, or do not follow
|
||||
the specified regular expression pattern.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">This inspection reports any calls to
|
||||
<b><font color="#000080">java.lang.Class.newInstance()</font></b>.
|
||||
The <b><font color="#000080">newInstance</font></b> method propagates any
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports any classes which are neither dependent on nor depended on by other classes
|
||||
in their package. Such classes are an indication of ad-hoc or incoherent packaging strategies,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This global inspection reports any classes which are directly dependent on too many
|
||||
other classes in the project. Such classes may be prone to instability, as modifications
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This global inspection reports any classes on which too many other classes in your project
|
||||
are directly dependent. Such classes may be expensive to modify, as changes to the class may
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This global inspection reports any classes which are directly or indirectly dependent
|
||||
on too many other classes in your project. Such classes may be prone to instability,
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This global inspection reports any classes on which too many other classes in your
|
||||
project are directly or indirectly dependent. Such classes may be expensive to modify,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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> <td height="20"> <font face="verdana" size="-2">Powered by InspectionGadgets </font> </td> </tr> </table> </body>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<font face="verdana" size="-1">
|
||||
This inspection reports 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.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body><table> <tr> <td valign="top" height="150">
|
||||
<body><table> <tr> <td valign="top">
|
||||
<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>,
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user