diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AbsoluteAlignmentInUserInterface.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AbsoluteAlignmentInUserInterface.html index 0c6fe554d53c..b8f077cbb07b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AbsoluteAlignmentInUserInterface.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AbsoluteAlignmentInUserInterface.html @@ -2,6 +2,7 @@ This inspection reports usages of absolute alignment constants from AWT and Swing. Internationalized applications should make use of relative alignment, because it respects locale component orientation settings. +

New in 11, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractClassExtendsConcreteClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractClassExtendsConcreteClass.html index 868a2808ab65..048db14336ad 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractClassExtendsConcreteClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractClassExtendsConcreteClass.html @@ -1,6 +1,7 @@ This inspection reports abstract classes which extend concrete classes. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractClassNeverImplemented.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractClassNeverImplemented.html index fd0f4e470173..f376345bc0a6 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractClassNeverImplemented.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractClassNeverImplemented.html @@ -2,6 +2,7 @@ This inspection reports abstract classes which have no concrete subclasses. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractClassWithOnlyOneDirectInheritor.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractClassWithOnlyOneDirectInheritor.html index 89c145e384c1..b3e221670183 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractClassWithOnlyOneDirectInheritor.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractClassWithOnlyOneDirectInheritor.html @@ -7,6 +7,7 @@ This inspection reports abstract classes which have precisely one direct inheritor. While such classes may offer admirable clarity of design, in memory-constrained or bandwidth-limited environments, they needlessly increase the total footprint of the application. Consider merging the abstract class with its inheritor. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractClassWithoutAbstractMethods.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractClassWithoutAbstractMethods.html index 470a37236cf5..5b4a91ebfa03 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractClassWithoutAbstractMethods.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractClassWithoutAbstractMethods.html @@ -1,6 +1,7 @@ This inspection reports abstract classes without abstract methods. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractMethodCallInConstructor.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractMethodCallInConstructor.html index d87305f238a8..d48a2e44b3e8 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractMethodCallInConstructor.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractMethodCallInConstructor.html @@ -3,6 +3,7 @@ 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. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractMethodOverridesAbstractMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractMethodOverridesAbstractMethod.html index 59e628bae7ef..414cf09d5f8b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractMethodOverridesAbstractMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractMethodOverridesAbstractMethod.html @@ -3,6 +3,7 @@ This inspection reports abstract methods which override abstract methods. Methods with different return types or exception declarations than the method they override are not reported by this inspection. +

Use the first checkbox to ignore any abstract methods that have a different JavaDoc comment than their super method.

diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractMethodOverridesConcreteMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractMethodOverridesConcreteMethod.html index 1f15cb07345e..e24f5d3730bf 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractMethodOverridesConcreteMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractMethodOverridesConcreteMethod.html @@ -3,6 +3,7 @@ This inspection reports abstract methods which override concrete methods. Methods overridden from java.lang.Object are not reported by this inspection. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractMethodWithMissingImplementations.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractMethodWithMissingImplementations.html index a18d8093c7c3..e82aaf50701c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractMethodWithMissingImplementations.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AbstractMethodWithMissingImplementations.html @@ -3,6 +3,7 @@ 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 reports the problem at the point of the abstract method. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AccessToNonThreadSafeStaticFieldFromInstance.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AccessToNonThreadSafeStaticFieldFromInstance.html index 14d14e7a8380..c8d7b9c1d532 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AccessToNonThreadSafeStaticFieldFromInstance.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AccessToNonThreadSafeStaticFieldFromInstance.html @@ -4,6 +4,7 @@ This inspection reports on any access to a static field of any non-threadsafe type specified below, which is accessed from an instance field or a non-synchronized block. It is possible that the static field is accessed from multiple threads, which can lead to unspecified side effects. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AccessToStaticFieldLockedOnInstance.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AccessToStaticFieldLockedOnInstance.html index 334eda0f1275..f25162ddaf7e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AccessToStaticFieldLockedOnInstance.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AccessToStaticFieldLockedOnInstance.html @@ -4,6 +4,7 @@ This inspection reports on any access to a non-constant static field whic locked on either this or an instance field of this. Locking a static field on instance data does not prevent the field from being modified by other instances, and thus may result in surprising race conditions. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AmbiguousFieldAccess.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AmbiguousFieldAccess.html index 518bf5786448..feeb51174161 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AmbiguousFieldAccess.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AmbiguousFieldAccess.html @@ -17,6 +17,7 @@ accessed, when in fact a field from the super class is accessed. To make the int } } +

New in 11, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AmbiguousMethodCall.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AmbiguousMethodCall.html index fa898a0e53ce..60f14823a34a 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AmbiguousMethodCall.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AmbiguousMethodCall.html @@ -6,6 +6,7 @@ reader of the code may think that a method in the surrounding class is called, when in fact a method from the super class is called. To make the intent of the code more clear it is recommended to add a super qualifier to the method call. +

New in 8, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/Annotation.html b/plugins/InspectionGadgets/src/inspectionDescriptions/Annotation.html index 7bb4b064b597..8897b1eb04ce 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/Annotation.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/Annotation.html @@ -2,6 +2,7 @@ This inspection reports any uses of annotations. Annotations are not supported under Java 1.4 or earlier JVMs. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AnnotationClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AnnotationClass.html index 84cecfd3336d..9500c4943f26 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AnnotationClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AnnotationClass.html @@ -2,6 +2,7 @@ This inspection reports annotation interfaces. Such interfaces are not supported under Java 1.4 or earlier JVMs. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AnnotationNamingConvention.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AnnotationNamingConvention.html index 9af470b9df5d..66ec962d05db 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AnnotationNamingConvention.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AnnotationNamingConvention.html @@ -2,6 +2,7 @@ This inspection reports annotation classes whose names are either too short, too long, or do not follow the specified regular expression pattern. +

Use the fields provided below to specify minimum length, maximum length and regular expression expected for annotation names. (Regular expressions are in standard java.util.regex format.) diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AnonymousClassComplexity.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AnonymousClassComplexity.html index ee8cd0bea250..b191aa95ca6a 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AnonymousClassComplexity.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AnonymousClassComplexity.html @@ -5,6 +5,7 @@ total complexity of a class is the sum of the cyclomatic complexities of all the and initializers the class declares. Inherited methods and initializers are not counted 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. +

Use the field provided below to specify the maximum acceptable complexity a class might have.

diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AnonymousClassMethodCount.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AnonymousClassMethodCount.html index 97e0e4d793ad..4263cb93b908 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AnonymousClassMethodCount.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AnonymousClassMethodCount.html @@ -3,6 +3,7 @@ This inspection reports 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. +

Use the field provided below to specify the maximum acceptable number of methods an anonymous inner class might have. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AnonymousClassVariableHidesContainingMethodVariable.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AnonymousClassVariableHidesContainingMethodVariable.html index 356643a15074..06f514b4b017 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AnonymousClassVariableHidesContainingMethodVariable.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AnonymousClassVariableHidesContainingMethodVariable.html @@ -2,6 +2,7 @@ This inspection reports anonymous class variables being named identically to variables of a containing method. Such a variable name may be confusing. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AnonymousInnerClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AnonymousInnerClass.html index bc68d7ee018b..32a72153d559 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AnonymousInnerClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AnonymousInnerClass.html @@ -2,6 +2,7 @@ This inspection reports any anonymous inner classes. Some code standards discourage the use of anonymous inner classes. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AnonymousInnerClassMayBeStatic.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AnonymousInnerClassMayBeStatic.html index 74bc025cb1d9..c9d5655ba410 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AnonymousInnerClassMayBeStatic.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AnonymousInnerClassMayBeStatic.html @@ -6,6 +6,7 @@ Applying the results of this inspection without consideration might have negativ This inspection reports any anonymous inner classes which may safely be made into a named static inner class. An inner class may be static if it doesn't reference its enclosing class instance or local variables. A static inner class uses slightly less memory. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ArchaicSystemPropertyAccess.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ArchaicSystemPropertyAccess.html index 77358237aa64..379e16d4eed6 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ArchaicSystemPropertyAccess.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ArchaicSystemPropertyAccess.html @@ -5,6 +5,7 @@ These methods fetch integer and boolean values from the system properties for a given key. Due to their underexpressive names and confusing location of functionality, it's easy for novice programmers to attempt to use these for other purposes, such as string parsing. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ArrayEquality.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ArrayEquality.html index 515d2d82489e..5254963d52e0 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ArrayEquality.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ArrayEquality.html @@ -2,6 +2,7 @@ This inspection reports any use of == to test for Array equality, rather than the "java.util.Arrays.equals()" method. +

New in 10.5, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ArrayEquals.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ArrayEquals.html index 92b1fc1a0411..f669c81c2393 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ArrayEquals.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ArrayEquals.html @@ -6,6 +6,7 @@ compares identity and is equivalent to using ==. Use Arrays.equals() to compare the contents of two arrays or Arrays.deepEquals() to compare the content of two multi-dimensional arrays. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ArrayHashCode.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ArrayHashCode.html index 49642c20b1bf..7612809e4a6b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ArrayHashCode.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ArrayHashCode.html @@ -5,6 +5,7 @@ on an array. To get the same hash code for two arrays with identical contents call Arrays.hashCode(). Use Arrays.deepHashCode() to calculate the hash code of a multi-dimensional array. +

New in 10.5, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ArrayLengthInLoopCondition.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ArrayLengthInLoopCondition.html index 1883c98409af..7530079c4a06 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ArrayLengthInLoopCondition.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ArrayLengthInLoopCondition.html @@ -6,6 +6,7 @@ Applying the results of this inspection without consideration might have negativ This inspection reports any access to the .length of an array in the condition part of a loop statement. In highly resource constrained environments, such calls may have adverse performance implications. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AssertAsName.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AssertAsName.html index c4e8d1aee496..e1f3f3d7ac2d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AssertAsName.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AssertAsName.html @@ -3,6 +3,7 @@ This inspection reports variables, methods, or classes named assert. Such names are legal under Java 1.3 or earlier JVMs, but will cause problems under Java 1.4 or later. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AssertEqualsBetweenInconvertibleTypes.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AssertEqualsBetweenInconvertibleTypes.html index ce90a6b186d2..105ecb0a2b50 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AssertEqualsBetweenInconvertibleTypes.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AssertEqualsBetweenInconvertibleTypes.html @@ -3,6 +3,7 @@ This inspection reports any calls to JUnit's assertEquals() method where the expected result and actual result arguments are of incompatible types. While such a call might theoretically be useful, most likely it represents a bug. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AssertEqualsCalledOnArray.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AssertEqualsCalledOnArray.html index f34e7ddd8b12..1da4deb18939 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AssertEqualsCalledOnArray.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AssertEqualsCalledOnArray.html @@ -3,6 +3,7 @@ This inspection reports any calls to JUnit's assertEquals() method with arguments of type array. Arrays should be checked with one of the assertArrayEquals() methods. +

New in 10, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AssertEqualsMayBeAssertSame.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AssertEqualsMayBeAssertSame.html index d815fe39527e..08f1a1eaf99e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AssertEqualsMayBeAssertSame.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AssertEqualsMayBeAssertSame.html @@ -5,6 +5,7 @@ or junit.framework.Assert.assertEquals() which can be replaced with an equivalent call to assertSame(). This is possible when the arguments are instances of a final class which does not override the equals() method. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AssertStatement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AssertStatement.html index 8598d4225318..4f9996911b21 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AssertStatement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AssertStatement.html @@ -2,6 +2,7 @@ This inspection reports assert statements. Such statements are not supported under Java 1.3 or earlier JVMs. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AssertWithSideEffects.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AssertWithSideEffects.html index b29e404d6345..cd9b6022fe1f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AssertWithSideEffects.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AssertWithSideEffects.html @@ -6,6 +6,7 @@ switched off, the side effects are not guaranteed to happen and can cause subtle Common unwanted side effects detected by this inspection are modifications of variables and fields in the assert statement. Also methods called are analyzed one level deep for any modifications of fields. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AssertsWithoutMessages.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AssertsWithoutMessages.html index 7a6139c9fcee..32d7b0725db0 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AssertsWithoutMessages.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AssertsWithoutMessages.html @@ -4,6 +4,7 @@ This inspection reports calls to JUnit assertXXX() or fail() methods that don't report an error message on assertion failure. Error messages may help clarify the test case's intent. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToCatchBlockParameter.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToCatchBlockParameter.html index d192f2059d9f..ae41b029cd0f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToCatchBlockParameter.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToCatchBlockParameter.html @@ -2,6 +2,7 @@ This inspection reports assignment to variable declared as a catch block parameter. While occasionally intended, this construct can be confusing. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToCollectionFieldFromParameter.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToCollectionFieldFromParameter.html index ec4da1895826..e57073ae82ab 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToCollectionFieldFromParameter.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToCollectionFieldFromParameter.html @@ -4,6 +4,7 @@ This inspection reports any attempt to assign an array or Collection fiel Since the array or Collection may have its contents modified by the calling method, this construct may result in an object having its state modified unexpectedly. While occasionally useful for performance reasons, this construct is inherently bug-prone. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToDateFieldFromParameter.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToDateFieldFromParameter.html index 996256b609ac..44a64b0083fc 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToDateFieldFromParameter.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToDateFieldFromParameter.html @@ -6,6 +6,7 @@ Since Date or Calendar are often treated as immutable values but are actually mutable, assigning to such a field from a method parameter may result in an object having its state modified unexpectedly. While occasionally useful for performance reasons, this construct is inherently bug-prone. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToForLoopParameter.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToForLoopParameter.html index 1c3da4526ea5..c11f72964547 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToForLoopParameter.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToForLoopParameter.html @@ -3,6 +3,7 @@ This inspection reports assignment a variable declared in a for 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. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToMethodParameter.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToMethodParameter.html index 6b294eaea87a..4b011915e702 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToMethodParameter.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToMethodParameter.html @@ -3,6 +3,7 @@ This inspection reports 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. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToNull.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToNull.html index 00614fa625bb..f334cf99cafc 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToNull.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToNull.html @@ -6,6 +6,7 @@ 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 class's intended semantics. +

Use the checkbox below to ignore assignments to fields.

diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToStaticFieldFromInstanceMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToStaticFieldFromInstanceMethod.html index 6ac0c60b221a..24bbbda8b706 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToStaticFieldFromInstanceMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentToStaticFieldFromInstanceMethod.html @@ -4,6 +4,7 @@ This inspection reports any assignments to static fields from within instance methods. While legal, such assignments are tricky to do safely, and are often a result of fields being inadvertently marked static. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentUsedAsCondition.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentUsedAsCondition.html index f9316671b1e8..0fdc942c68be 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentUsedAsCondition.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AssignmentUsedAsCondition.html @@ -5,6 +5,7 @@ used as the condition of an if, while, for or do statement. While occasionally intended, this usage is confusing, and often indicates a typo (= instead of ==). +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AutoBoxing.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AutoBoxing.html index 154738defc78..a0a76015fe51 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AutoBoxing.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AutoBoxing.html @@ -2,6 +2,7 @@ This inspection reports "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. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AutoUnboxing.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AutoUnboxing.html index d79729b6c17a..30d5516e3e36 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AutoUnboxing.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AutoUnboxing.html @@ -2,6 +2,7 @@ This inspection reports "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. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AwaitNotInLoop.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AwaitNotInLoop.html index 89c6ddbaab1c..1e1a328988f3 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AwaitNotInLoop.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AwaitNotInLoop.html @@ -4,6 +4,7 @@ This inspection reports on any call to java.util.concurrent.locks.Condition.a await() and related methods are normally used to suspend a thread until a condition is signalled as true, and that condition should be checked after the await() returns. A loop is the clearest way to achieve this. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AwaitWithoutCorrespondingSignal.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AwaitWithoutCorrespondingSignal.html index 721ffcb429db..484570eb4cf1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AwaitWithoutCorrespondingSignal.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AwaitWithoutCorrespondingSignal.html @@ -4,6 +4,7 @@ This inspection reports on any call to Condition.signal() or Condition.signalAll() for which no call to a corresponding Condition.await() can be found. Only calls which target fields of the current class are reported by this inspection. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/BadExceptionCaught.html b/plugins/InspectionGadgets/src/inspectionDescriptions/BadExceptionCaught.html index 0c2de6e6dee8..aaf157e4ec57 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/BadExceptionCaught.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/BadExceptionCaught.html @@ -5,6 +5,7 @@ which catch inappropriate exceptions. Some exceptions, for instance java.lang.NullPointerException and java.lang.IllegalMonitorStateException represent programming errors and so should almost certainly not be caught in production code. +

Use the list below to specify which exceptions should be flagged by this inspection.

diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/BadExceptionThrown.html b/plugins/InspectionGadgets/src/inspectionDescriptions/BadExceptionThrown.html index ef78174d641a..1dbe08a6c3c0 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/BadExceptionThrown.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/BadExceptionThrown.html @@ -3,8 +3,8 @@ This inspection reports throw statements which throw inappropriate exceptions. One use of this inspection would be to warn of throw statements which throw overly generic exceptions -(e.g. java.lang.Exception or -java.io.IOException). +(e.g. java.lang.Exception or java.io.IOException). +

Use the list below to specify which exceptions should be flagged by this inspection.

diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/BadOddness.html b/plugins/InspectionGadgets/src/inspectionDescriptions/BadOddness.html index 6e0616a2ac02..e3be8a7b2960 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/BadOddness.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/BadOddness.html @@ -4,6 +4,7 @@ This inspection reports any checks for oddness of the form:

x % 2 == 1
Such checks will fail for negative odd values, which is probably not the behaviour intended. Consider using:
x % 2 != 0
or:
(x & 1) == 1
instead. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/BeforeClassOrAfterClassIsPublicStaticVoidNoArg.html b/plugins/InspectionGadgets/src/inspectionDescriptions/BeforeClassOrAfterClassIsPublicStaticVoidNoArg.html index c50a5cd30489..660b1c41bdc3 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/BeforeClassOrAfterClassIsPublicStaticVoidNoArg.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/BeforeClassOrAfterClassIsPublicStaticVoidNoArg.html @@ -4,6 +4,7 @@ This inspection reports JUnit 4.0 @BeforeClass or @AfterClass meth is not declared public static, does not return void, or takes arguments. Such methods are easy to create inadvertently, and will not be executed by JUnit tests runners. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/BeforeOrAfterIsPublicVoidNoArg.html b/plugins/InspectionGadgets/src/inspectionDescriptions/BeforeOrAfterIsPublicVoidNoArg.html index 6a3d7db65f8e..5e60068122c0 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/BeforeOrAfterIsPublicVoidNoArg.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/BeforeOrAfterIsPublicVoidNoArg.html @@ -4,6 +4,7 @@ This inspection reports JUnit 4.0 @Before or @After method is not declared public, does not return void, or takes arguments. Such methods are easy to create inadvertently, and will not be executed by JUnit tests runners. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/BigDecimalEquals.html b/plugins/InspectionGadgets/src/inspectionDescriptions/BigDecimalEquals.html index f12bc93fc09c..96e143dc66eb 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/BigDecimalEquals.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/BigDecimalEquals.html @@ -6,6 +6,7 @@ a mistake, as two java.math.BigDecimals are only equal if they are equal in both value and scale, so that 2.0 is not equal to 2.00 To compare java.math.BigDecimals for mathematical equality, use .compareTo() instead. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/BooleanConstructor.html b/plugins/InspectionGadgets/src/inspectionDescriptions/BooleanConstructor.html index b87e1287a3b4..389c43c7bcd2 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/BooleanConstructor.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/BooleanConstructor.html @@ -3,6 +3,7 @@ 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. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/BooleanMethodIsAlwaysInverted.html b/plugins/InspectionGadgets/src/inspectionDescriptions/BooleanMethodIsAlwaysInverted.html index 11f718f197a3..e2e25891201b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/BooleanMethodIsAlwaysInverted.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/BooleanMethodIsAlwaysInverted.html @@ -19,5 +19,8 @@ For example: boolean member = !inverted(); } + +

+Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/BooleanMethodNameMustStartWithQuestion.html b/plugins/InspectionGadgets/src/inspectionDescriptions/BooleanMethodNameMustStartWithQuestion.html index f1e2d1c1b6a9..a6ee832de6b9 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/BooleanMethodNameMustStartWithQuestion.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/BooleanMethodNameMustStartWithQuestion.html @@ -2,6 +2,7 @@ This inspection reports boolean methods whose names do not start with a question word. Boolean methods that override library methods are ignored by this inspection. +

Use the list below to specify acceptable question words to start boolean method names with.

diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/BooleanVariableAlwaysNegated.html b/plugins/InspectionGadgets/src/inspectionDescriptions/BooleanVariableAlwaysNegated.html index 36b2465631f9..745938fe47c1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/BooleanVariableAlwaysNegated.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/BooleanVariableAlwaysNegated.html @@ -2,6 +2,7 @@ This inspection reports any boolean variables or fields which are always negated when its value is used. +

New in 11, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/BoxingBoxedValue.html b/plugins/InspectionGadgets/src/inspectionDescriptions/BoxingBoxedValue.html index 467db0f35383..6fa5b3092cb9 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/BoxingBoxedValue.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/BoxingBoxedValue.html @@ -4,6 +4,7 @@ This inspection reports boxing of already boxed values. This is a useless operation since any boxed value will first be auto-unboxed before boxing the value again. If done inside an inner loop such code may cause performance problems. +

New in 10.0.2, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/BreakStatement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/BreakStatement.html index 33a4ac0dda8f..2167c84064b0 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/BreakStatement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/BreakStatement.html @@ -3,6 +3,7 @@ This inspection reports break statements, other than at the end of a switch statement branch. break statements complicate refactoring, and can be confusing. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/BreakStatementWithLabel.html b/plugins/InspectionGadgets/src/inspectionDescriptions/BreakStatementWithLabel.html index 5d6ca8ad33f8..6b9578dcea8b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/BreakStatementWithLabel.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/BreakStatementWithLabel.html @@ -2,6 +2,7 @@ This inspection reports break statements with labels. Labeled break statements complicate refactoring, and can be confusing. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/BusyWait.html b/plugins/InspectionGadgets/src/inspectionDescriptions/BusyWait.html index fbc3b07caa47..5914fcf7db7c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/BusyWait.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/BusyWait.html @@ -3,6 +3,7 @@ This inspection reports 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. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CStyleArrayDeclaration.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CStyleArrayDeclaration.html index 6cbcb96a1ccd..40b3e09db8e6 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CStyleArrayDeclaration.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CStyleArrayDeclaration.html @@ -2,6 +2,7 @@ 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. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CachedNumberConstructorCall.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CachedNumberConstructorCall.html index 08f1bd96587a..1b76b03a4c3e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CachedNumberConstructorCall.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CachedNumberConstructorCall.html @@ -12,6 +12,7 @@ here (introduced in Java 5), which will cache objects for values between -128 an

This inspection only reports if the project or module is configured to use a language level of 5.0 or higher. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CallToNativeMethodWhileLocked.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CallToNativeMethodWhileLocked.html index 9e68e81a5f1b..817aebc8d27f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CallToNativeMethodWhileLocked.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CallToNativeMethodWhileLocked.html @@ -3,6 +3,7 @@ This inspection reports any to methods declared native while in a synchronized block or method. While not necessarily representing a problem, such calls cause an expensive context switch, and are best kept out of synchronized contexts, if possible. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CallToSimpleGetterInClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CallToSimpleGetterInClass.html index 576709e57737..8ed084450224 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CallToSimpleGetterInClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CallToSimpleGetterInClass.html @@ -5,6 +5,7 @@ A simple property getter is defined as one which simply returns the value of a f and does no other calculation. Such simple getter calls may be safely inlined, at a small performance improvement. Some coding standards also suggest against the use of simple getters for code clarity reasons. +

Use the first option below to only report on getter calls on this, not on objects of the same type passed in as a parameter. Use the second option below to only report when the getter is private. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CallToSimpleSetterInClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CallToSimpleSetterInClass.html index ebb3f161ab44..0ae86f62cf09 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CallToSimpleSetterInClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CallToSimpleSetterInClass.html @@ -5,6 +5,7 @@ A simple property setter is defined as one which simply assigns the value of its and does no other calculation. Such simple setter calls may be safely inlined, at a small performance improvement. Some coding standards also suggest against the use of simple setters for code clarity reasons. +

Use the first option below to only report on setter calls on this, not on objects of the same type passed in as a parameter. Use the second option below to only report when the setter is private. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CallToStringConcatCanBeReplacedByOperator.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CallToStringConcatCanBeReplacedByOperator.html index 0e495d67d783..c061a1cd1d3e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CallToStringConcatCanBeReplacedByOperator.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CallToStringConcatCanBeReplacedByOperator.html @@ -4,6 +4,7 @@ This inspection reports calls to the concat method of a java.lang.String object. Such calls can be replaced with the '+' operator for increased code clarity and possible increased performance if the method was invoked on a constant with a constant argument. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CastConflictsWithInstanceof.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CastConflictsWithInstanceof.html index 3866a6ba6711..2f767e6bb496 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CastConflictsWithInstanceof.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CastConflictsWithInstanceof.html @@ -4,6 +4,7 @@ This inspection reports type cast expressions which are surrounded by an instanceof check for a different type. While it is possible that this was intended, such a construct is most likely an error, and will result in a java.lang.ClassCastException at runtime. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CastThatLosesPrecision.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CastThatLosesPrecision.html index e2fee302d0b2..dc07dbae4ce3 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CastThatLosesPrecision.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CastThatLosesPrecision.html @@ -3,6 +3,7 @@ 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 trace bugs if the loss of precision is unexpected. +

Use the checkbox below to indicate that this inspection should ignore casts from int to char. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CastToConcreteClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CastToConcreteClass.html index d60375df2567..069e856eb04d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CastToConcreteClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CastToConcreteClass.html @@ -3,6 +3,7 @@ This inspection reports 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. +

Use the checkbox below to have this inspection ignore casts to abstract classes.

diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CastToIncompatibleInterface.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CastToIncompatibleInterface.html index 3d92b0341c9e..06614592084d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CastToIncompatibleInterface.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CastToIncompatibleInterface.html @@ -5,6 +5,7 @@ the cast type is an interface, and the cast expression has a class type which ne implements the cast interface, nor has any visible subclasses which implement or extend the cast interface. While it is possible that this was intended, such a construct is most likely an error, and will result in a java.lang.ClassCastException at runtime. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CaughtExceptionImmediatelyRethrown.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CaughtExceptionImmediatelyRethrown.html index 22176ac97d66..9c9ce6a716b0 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CaughtExceptionImmediatelyRethrown.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CaughtExceptionImmediatelyRethrown.html @@ -4,6 +4,7 @@ This inspection reports any catch block where the caught exception is immediately rethrown, without performing any action on it. Such catch blocks are unnecessary or lack error handling. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ChainedEquality.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ChainedEquality.html index d6d3170e1fc2..6812f317f5c7 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ChainedEquality.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ChainedEquality.html @@ -2,6 +2,7 @@ This inspection reports chained equality comparisons (i.e. a==b==c). Such comparisons are confusing. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ChainedMethodCall.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ChainedMethodCall.html index 7aac8c0d1c18..ce81b8cafe81 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ChainedMethodCall.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ChainedMethodCall.html @@ -2,6 +2,7 @@ This inspection reports method calls whose target is another method call. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ChannelResource.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ChannelResource.html index 43115d78dfc8..a8e093082073 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ChannelResource.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ChannelResource.html @@ -6,6 +6,7 @@ front of a try block and closed in the corresponding if an exception is thrown before the resource is closed. Channel resources reported by this inspection include any instances created by calling getChannel() on a file or socket resource. +

Use the checkbox below to specify if a Channel is allowed to be opened inside a try block. This style is less desirable because it is more verbose than opening a Channel diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CharUsedInArithmeticContext.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CharUsedInArithmeticContext.html index 58f550d8f89c..dabb5f1e72aa 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CharUsedInArithmeticContext.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CharUsedInArithmeticContext.html @@ -1,7 +1,8 @@ This inspection reports on any expressions of type char which are used in -addition or substraction expressions. +addition or subtraction expressions. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CharacterComparison.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CharacterComparison.html index c23a9ff79469..34aba2994513 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CharacterComparison.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CharacterComparison.html @@ -2,6 +2,7 @@ This inspection reports any ordinal comparison of char values. In an internationalized environment, such comparisons are rarely correct. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CheckForOutOfMemoryOnLargeArrayAllocation.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CheckForOutOfMemoryOnLargeArrayAllocation.html index 0a388ca6b0ba..aa05e43069d1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CheckForOutOfMemoryOnLargeArrayAllocation.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CheckForOutOfMemoryOnLargeArrayAllocation.html @@ -7,6 +7,7 @@ This inspection reports large array allocations which do not check for java.lang.OutOfMemoryError. In memory constrained environments, allocations of large data objects should probably be checked for memory depletion. +

Use the field below to specify the maximum number of elements to allow in unchecked array allocations. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CheckedExceptionClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CheckedExceptionClass.html index 927a3b5d8222..0efb2ee7f8f9 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CheckedExceptionClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CheckedExceptionClass.html @@ -3,6 +3,7 @@ This inspection reports checked exception classes (i.e. subclasses of Exception which are not also subclasses of RuntimeException). Certain coding standards require that all user-defined exception classes be unchecked. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassComplexity.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassComplexity.html index 376706f31842..00ebafea7f8e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassComplexity.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassComplexity.html @@ -4,6 +4,7 @@ This inspection reports 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. +

Use the field provided below to specify the maximum acceptable complexity a class might have.

diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassCoupling.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassCoupling.html index 56ec7ca4ec11..aad0a34223e3 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassCoupling.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassCoupling.html @@ -4,6 +4,7 @@ This inspection reports classes which are highly coupled, i.e. that reference to Classes with too high a coupling can be very fragile, and should probably be broken up. References to system classes (those in the java.or javax. packages), are not counted for purposes of this inspection. +

Use the field provided below to specify the maximum acceptable coupling a class might have.

diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassEscapesItsScope.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassEscapesItsScope.html index 06ab66bd4e37..ea1dba9fb032 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassEscapesItsScope.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassEscapesItsScope.html @@ -5,6 +5,7 @@ be used outside the class's stated scope. For instance, this inspection would re 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. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassInTopLevelPackage.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassInTopLevelPackage.html index ff0b74019efa..578d9a6ed77f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassInTopLevelPackage.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassInTopLevelPackage.html @@ -1,7 +1,7 @@ -This inspection reports any classes -which do not contain package declarations. +This inspection reports any classes which do not contain package declarations. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassIndependentOfModule.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassIndependentOfModule.html index 548a0eb5cfd1..fad2612e78cb 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassIndependentOfModule.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassIndependentOfModule.html @@ -3,6 +3,7 @@ This inspection reports any classes which are neither dependent on nor depended on by other classes in their module. Such classes are an indication of ad-hoc or incoherent modularisation strategies, and may often profitably be moved. +

New in 11, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassInheritanceDepth.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassInheritanceDepth.html index 143bfa2cf8fe..e8cac019fb33 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassInheritanceDepth.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassInheritanceDepth.html @@ -3,6 +3,7 @@ This inspection reports 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 from a library as a single superclass (libraries are considered unmodifyable). +

Use the field provided below to specify the maximum acceptable inheritance depth a class might have.

diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassInitializer.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassInitializer.html index ef4b5d2e08c5..c025f4363921 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassInitializer.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassInitializer.html @@ -5,6 +5,7 @@ in classes. Some coding standards prohibit such initializers, preferring initial in constructors or field initializers. Non-static initializers may also be inadvertently created by deleting the static keyword, resulting in obscure bugs. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassInitializerMayBeStatic.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassInitializerMayBeStatic.html index eda8ff5e553b..6cb2f1a5e170 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassInitializerMayBeStatic.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassInitializerMayBeStatic.html @@ -3,6 +3,7 @@ This inspection reports any class initializers which may safely be made static. A class initializer may be static if it does not reference any of its class' non static methods and non static fields. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassLoaderInstantiation.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassLoaderInstantiation.html index 60086b4963be..fb5c27f1562b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassLoaderInstantiation.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassLoaderInstantiation.html @@ -2,6 +2,7 @@ This inspection reports any instantiations of java.lang.ClassLoader objects. While often benign, any instantiations to ClassLoader should be closely examined in any security audit. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassMayBeInterface.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassMayBeInterface.html index 4ecb71331ef9..ad6a8bf70637 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassMayBeInterface.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassMayBeInterface.html @@ -5,6 +5,7 @@ which may be simplified to be interfaces. This occurs if the class has no superc than Object), has no fields declared that are not static, final, and public, and has no methods declared that are not public and abstract, and no inner classes that cannot themselves be interfaces. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNameDiffersFromFileName.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNameDiffersFromFileName.html index 6eb4befbd3ee..84535104efe2 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNameDiffersFromFileName.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNameDiffersFromFileName.html @@ -4,6 +4,7 @@ This inspection reports top-level class names which do not match the name of their containing file. While the Java specification allows such naming for non-public classes, such misnamed files can be confusing, and may degrade the usefulness of various software tools. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNamePrefixedWithPackageName.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNamePrefixedWithPackageName.html index f36fb26678f5..7526c9c23a86 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNamePrefixedWithPackageName.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNamePrefixedWithPackageName.html @@ -3,6 +3,7 @@ This inspection reports 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. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNameSameAsAncestorName.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNameSameAsAncestorName.html index c374462f3a35..f9534e094437 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNameSameAsAncestorName.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNameSameAsAncestorName.html @@ -2,6 +2,7 @@ This inspection reports class being named identically to one of their super classes (but in different packages). Such class name may be very confusing. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNamingConvention.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNamingConvention.html index e549b93e43b1..3d546fcca311 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNamingConvention.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNamingConvention.html @@ -2,6 +2,7 @@ This inspection reports classes whose names are either too short, too long, or do not follow the specified regular expression pattern. +

Use the fields provided below to specify minimum length, maximum length and regular expression expected for class names. (Regular expressions are in standard java.util.regex format.) diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNestingDepth.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNestingDepth.html index 5253fa6ba020..63601806d7c3 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNestingDepth.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNestingDepth.html @@ -2,6 +2,7 @@ This inspection reports 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. +

Use the field provided below to specify the maximum acceptable nesting depth a class might have.

diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNewInstance.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNewInstance.html index 023dca135e4d..e5a5afcff1a5 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNewInstance.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassNewInstance.html @@ -9,6 +9,7 @@ would otherwise be performed by the compiler. Replacing such a method call with a call to the java.lang.reflect.Constructor.newInstance() method avoids this problem by wrapping any exception thrown by the constructor in a java.lang.reflect.InvocationTargetException. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassOnlyUsedInOneModule.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassOnlyUsedInOneModule.html index 4bb0226ff370..8be138e1b330 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassOnlyUsedInOneModule.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassOnlyUsedInOneModule.html @@ -3,6 +3,7 @@ This inspection reports any classes which is only depended on and only depends on one module which is different from the module containing the class. Such class could be moved into that module. +

New in 11, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassOnlyUsedInOnePackage.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassOnlyUsedInOnePackage.html index 4bb0226ff370..8be138e1b330 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassOnlyUsedInOnePackage.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassOnlyUsedInOnePackage.html @@ -3,6 +3,7 @@ This inspection reports any classes which is only depended on and only depends on one module which is different from the module containing the class. Such class could be moved into that module. +

New in 11, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassReferencesSubclass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassReferencesSubclass.html index bef4133e6e7a..dc8ed7f6ee5d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassReferencesSubclass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassReferencesSubclass.html @@ -2,6 +2,7 @@ This inspection reports classes which contain references to one of their subclasses. Such references may be confusing, and violate several rules of object-oriented design. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassUnconnectedToPackage.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassUnconnectedToPackage.html index 5e79e8324dcd..1abda8015376 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassUnconnectedToPackage.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassUnconnectedToPackage.html @@ -3,6 +3,7 @@ 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, and may often profitably be moved. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithTooManyDependencies.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithTooManyDependencies.html index 74072cfd9ca9..0fbaf1825ed9 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithTooManyDependencies.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithTooManyDependencies.html @@ -5,6 +5,7 @@ other classes in the project. Such classes may be prone to instability, as modif to any of the classes it is dependent on may require changing the class. Only top-level classes are reported by this inspection. Since this inspection requires global code analysis, it is only available in batch inspection mode. +

Use the field below to specify the maximum number of dependencies a class may have before triggering this inspection diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithTooManyDependents.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithTooManyDependents.html index fbf5875e4760..34b3bebba348 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithTooManyDependents.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithTooManyDependents.html @@ -4,6 +4,7 @@ This global inspection reports any classes on which too many other classes in yo are directly dependent. Such classes may be expensive to modify, as changes to the class may require changing many other classes. Only top-level classes are reported by this inspection. Since this inspection requires global code analysis, it is only available in batch inspection mode. +

Use the field below to specify the maximum number of dependents a class may have before triggering this inspection diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithTooManyTransitiveDependencies.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithTooManyTransitiveDependencies.html index 21bff8bcd422..92d7b98e32ca 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithTooManyTransitiveDependencies.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithTooManyTransitiveDependencies.html @@ -5,6 +5,7 @@ on too many other classes in your project. Such classes may be prone to instabil as changes to any of the classes it is dependent on may require changing the class. Only top-level classes are reported by this inspection. Since this inspection requires global code analysis, it is only available in batch inspection mode. +

Use the field below to specify the maximum number of direct or indirect dependencies a class may have before triggering this inspection diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithTooManyTransitiveDependents.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithTooManyTransitiveDependents.html index 81c5dd40a3ea..839a4e3a7445 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithTooManyTransitiveDependents.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithTooManyTransitiveDependents.html @@ -5,6 +5,7 @@ project are directly or indirectly dependent. Such classes may be expensive to m as changes to the class may require changing many other classes. Only top-level classes are reported by this inspection. Since this inspection requires global code analysis, it is only available in batch inspection mode. +

Use the field below to specify the maximum number of direct or indirect dependents a class may have before triggering this inspection diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithoutConstructor.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithoutConstructor.html index 7dcf655024b0..0373ecd8210d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithoutConstructor.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithoutConstructor.html @@ -1,6 +1,7 @@ This inspection reports a classes without constructors. Some coding standards prohibit such classes. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithoutNoArgConstructor.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithoutNoArgConstructor.html index cc2e26fab2ce..58b5fecd7587 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithoutNoArgConstructor.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ClassWithoutNoArgConstructor.html @@ -2,6 +2,7 @@ This inspection reports a classes without a no-argument constructor. Such constructors are necessary in some contexts if a class is to be created reflexively. +

Use the checkbox below to indicate that this inspection should ignore classes which contain no explicit constructors, and thus are provided a default no-argument constructor diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CloneCallsConstructors.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CloneCallsConstructors.html index a18f77cb4399..5485e24002b7 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CloneCallsConstructors.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CloneCallsConstructors.html @@ -3,6 +3,7 @@ This inspection reports calls to object constructors inside clone() methods. Instantiation of objects inside of clone() should be done by calling clone(), instead of creating the object directly, to support later subclassing. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CloneCallsSuperClone.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CloneCallsSuperClone.html index e7852b9dd38f..6081126dc5bf 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CloneCallsSuperClone.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CloneCallsSuperClone.html @@ -2,6 +2,7 @@ This inspection reports clone() methods which do not call super.clone(). Cloning an object without calling super.clone() may result in objects being improperly initialized. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CloneDeclaresCloneNotSupported.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CloneDeclaresCloneNotSupported.html index 36a057214b78..aeb3274a2954 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CloneDeclaresCloneNotSupported.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CloneDeclaresCloneNotSupported.html @@ -6,6 +6,7 @@ to possibly throw CloneNotSupportedException, then subclasses which need prohibit cloning will not be able to do so in the standard way. This inspection will not report clone() methods declared final, or clone() methods on final classes. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CloneInNonCloneableClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CloneInNonCloneableClass.html index 690e077d4f34..ac652526a039 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CloneInNonCloneableClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CloneInNonCloneableClass.html @@ -3,6 +3,7 @@ This inspection reports classes which override the clone() method, but which do not implement the Cloneable interface. This usually represents a programming error. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CloneableClassInSecureContext.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CloneableClassInSecureContext.html index b90b4d70bb95..e8ff5ef81ba9 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CloneableClassInSecureContext.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CloneableClassInSecureContext.html @@ -4,6 +4,7 @@ This inspection reports classes which may be cloned. A class may be cloned if it supports the Cloneable interface, and its clone() method is not defined to immediately throw an error. Cloneable classes may be dangerous in code intended for secure use. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CloneableImplementsClone.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CloneableImplementsClone.html index 55a9b8c68501..d2482cb4e407 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CloneableImplementsClone.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CloneableImplementsClone.html @@ -3,6 +3,7 @@ This inspection reports classes which implement the Cloneable interface, but which do not override the clone() method. Such classes use the default implementation of clone(), which is often not the desired behavior. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CollectionAddedToSelf.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CollectionAddedToSelf.html index 0f59e3312910..d2c3c81675dc 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CollectionAddedToSelf.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CollectionAddedToSelf.html @@ -4,6 +4,7 @@ This inspection reports any cases where a java.util.Collection or java.util.Map is added as an element of itself. While Bertrand Russell might approve of such a construct, the JVM will likely not, throwing a java.lang.StackOverflowError if hashCode() is ever called on the self-containing collection. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CollectionContainsUrl.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CollectionContainsUrl.html index d7eccf033821..c0ccecc4c50d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CollectionContainsUrl.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CollectionContainsUrl.html @@ -9,6 +9,7 @@ methods of java.net.URL. java.net.URL's equals() and hashCode() method use a DNS lookup, which depending on the availability of the network and the speed of the DNS server can cause significant delays. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CollectionsFieldAccessReplaceableByMethodCall.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CollectionsFieldAccessReplaceableByMethodCall.html index 63deab311baa..53293ea5f018 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CollectionsFieldAccessReplaceableByMethodCall.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CollectionsFieldAccessReplaceableByMethodCall.html @@ -9,6 +9,7 @@ Such method calls prevent "unchecked" warnings by the compiler because the type

This inspection only reports if the project or module is configured to use a language level of 5.0 or higher. +

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CollectionsMustHaveInitialCapacity.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CollectionsMustHaveInitialCapacity.html index 00cb2abcc4fe..4c6f5b551b2f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CollectionsMustHaveInitialCapacity.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CollectionsMustHaveInitialCapacity.html @@ -13,6 +13,7 @@ memory copied when capacity is exceeded. This inspection checks allocations of t

  • java.util.Vector
  • java.util.WeakHashMap +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ComparableImplementedButEqualsNotOverridden.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ComparableImplementedButEqualsNotOverridden.html index 356c58cddd65..073928ff38e1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ComparableImplementedButEqualsNotOverridden.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ComparableImplementedButEqualsNotOverridden.html @@ -7,6 +7,7 @@ the compareTo() implementation. If an object of such a class is added to a collection such as java.util.SortedSet, this collection will violate the contract of java.util.Set, which is defined in terms of equals(). +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ComparatorMethodParameterNotUsed.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ComparatorMethodParameterNotUsed.html index 50cd9c4051e8..87141e5c1bb6 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ComparatorMethodParameterNotUsed.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ComparatorMethodParameterNotUsed.html @@ -3,6 +3,7 @@ This inspection reports any parameters of java.util.Comparator.compare() which are not used. Most likely this is the result of a typing mistake and one parameter is compared with itself or the method is not implemented correctly. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ComparatorNotSerializable.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ComparatorNotSerializable.html index 95792fa79182..bb2843609c5a 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ComparatorNotSerializable.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ComparatorNotSerializable.html @@ -6,6 +6,7 @@ or java.util.TreeSet will become non-Serializable if instantiated with such Comparators. This can result in unexpected and difficult-to-diagnose bugs. Since subclasses of java.lang.Comparator are often stateless, simply marking them Serializable is a small cost to avoid such issues. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CompareToUsesNonFinalVariable.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CompareToUsesNonFinalVariable.html index 7905f7eb71ee..d5c4543afdaf 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CompareToUsesNonFinalVariable.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CompareToUsesNonFinalVariable.html @@ -4,6 +4,7 @@ This inspection reports any implementations of compareTo() which access non-final variables. Such access may result in compareTo() returning different results at different points in an object's lifecycle, which may in turn cause problems when using the standard Collections classes. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ComparisonOfShortAndChar.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ComparisonOfShortAndChar.html index 72693c0722b4..caada42fc583 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ComparisonOfShortAndChar.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ComparisonOfShortAndChar.html @@ -4,6 +4,7 @@ This inspection reports equality comparisons between short and char values. Such comparisons may cause subtle bugs, as short values are signed and char values unsigned. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ComparisonToNaN.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ComparisonToNaN.html index aefc16be7747..623ad1aabbe1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ComparisonToNaN.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ComparisonToNaN.html @@ -5,6 +5,7 @@ This inspection reports any equality or inequality comparisons to Equality comparison to these values is always false. Instead, use the Double.isNaN() of Float.isNaN() methods instead. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ConditionSignal.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ConditionSignal.html index f1b79b54da3b..11d994bdc4dc 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ConditionSignal.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ConditionSignal.html @@ -2,6 +2,7 @@ This inspection reports any calls to java.util.concurrent.locks.signal(). While occasionally useful, in almost all cases signalAll() is a better and safer choice. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ConditionalExpression.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ConditionalExpression.html index 07865bcf73e3..89847d2877a8 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ConditionalExpression.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ConditionalExpression.html @@ -2,6 +2,7 @@ This inspection reports the ternary condition operator. Some coding standards prohibit the use of the condition operator, in favor of if-else statements. +

    Use the checkbox below to ignore simple assignments and returns and thus allow constructs like this:

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ConditionalExpressionWithIdenticalBranches.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ConditionalExpressionWithIdenticalBranches.html
    index 24751a8861d0..ca06ea9fee60 100644
    --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ConditionalExpressionWithIdenticalBranches.html
    +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ConditionalExpressionWithIdenticalBranches.html
    @@ -3,6 +3,7 @@
     This inspection reports conditional expressions
     with identical "then" and "else" branches. Such expressions are almost certainly
     programmer error.
    +
     

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ConfusingElse.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ConfusingElse.html index 4317540c3c13..6a72d085e97d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ConfusingElse.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ConfusingElse.html @@ -5,6 +5,7 @@ when the if statement is followed by other statements and the if b cannot complete normally, for example because it ends with a return statement. In these cases the statements in the else can be moved after the if statement and the else branch removed. +

    Use the checkbox below to also report else branches of if statements whose if branch cannot complete normally and which are not followed by more statements, diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ConfusingFloatingPointLiteral.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ConfusingFloatingPointLiteral.html index 74ff677c7b81..715bec8ccacc 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ConfusingFloatingPointLiteral.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ConfusingFloatingPointLiteral.html @@ -2,6 +2,7 @@ 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. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ConfusingMainMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ConfusingMainMethod.html index 76d166070314..87f7ffbd6a4b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ConfusingMainMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ConfusingMainMethod.html @@ -3,6 +3,7 @@ This inspection reports 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. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ConfusingOctalEscape.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ConfusingOctalEscape.html index d19791c41763..22e58a7e77ae 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ConfusingOctalEscape.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ConfusingOctalEscape.html @@ -2,6 +2,7 @@ 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. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ConnectionResource.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ConnectionResource.html index 619607a98a20..55ec147eaaac 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ConnectionResource.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ConnectionResource.html @@ -6,6 +6,7 @@ Applying the results of this inspection without consideration might have negativ This inspection reports any J2ME Connection resource which is not opened in front of a try block and closed in the corresponding finally block. Such resources may be inadvertently leaked if an exception is thrown before the resource is closed. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantAssertCondition.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantAssertCondition.html index a1ce4b0dcf42..b547c66ec572 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantAssertCondition.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantAssertCondition.html @@ -3,6 +3,7 @@ This inspection reports assert statement conditions which are constants. Assert statements with constant conditions will either always fail or always succeed. Such statements can easily be left over after refactoring and are probably a bug. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantConditionalExpression.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantConditionalExpression.html index cf7bec1927ca..2ea6a0190468 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantConditionalExpression.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantConditionalExpression.html @@ -3,6 +3,7 @@ This inspection reports conditional expressions of the form true?result1:result2 or false?result1:result2. These expressions sometimes occur as the result of automatic refactorings, and may obviously be simplified. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantDeclaredInAbstractClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantDeclaredInAbstractClass.html index 98df5ec8d71e..a55deb6498b6 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantDeclaredInAbstractClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantDeclaredInAbstractClass.html @@ -2,6 +2,7 @@ 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. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantDeclaredInInterface.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantDeclaredInInterface.html index 8194dd6065ef..2603d2a7da17 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantDeclaredInInterface.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantDeclaredInInterface.html @@ -2,6 +2,7 @@ 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. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantIfStatement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantIfStatement.html index fec24382356e..dcbcd492df2c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantIfStatement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantIfStatement.html @@ -4,6 +4,7 @@ This inspection reports if statements of the form if(true)... or if(false).... These statements sometimes occur due to automatic refactorings, and may obviously be simplified. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantJUnitAssertArgument.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantJUnitAssertArgument.html index 8516788ec411..bfe74026d3c5 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantJUnitAssertArgument.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantJUnitAssertArgument.html @@ -4,6 +4,7 @@ This inspection reports constant arguments to JUnits assertTrue, assertFalse, assertNull and assertNotNull method calls. Calls to these methods with such constant arguments will either always fail or always succeed. Such statements can easily be left over after refactoring and are probably not intended. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantMathCall.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantMathCall.html index 1c4e05e9b60e..462ecd0e79e9 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantMathCall.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantMathCall.html @@ -3,6 +3,7 @@ This inspection reports any calls to java.lang.Math or java.lang.StrictMath methods which can be determined to be simple compile-time constants. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantNamingConvention.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantNamingConvention.html index ce027d3beb2d..b66b6bcf9819 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantNamingConvention.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantNamingConvention.html @@ -2,6 +2,7 @@ This inspection reports any constants whose names are either too short, too long, or do not follow the specified regular expression pattern. Constants are fields declared static final. +

    Use the fields provided below to specify minimum length, maximum length and regular expression expected for constant names (Regular expressions are in standard java.util.regex format). Use the diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantOnLHSOfComparison.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantOnLHSOfComparison.html index 39efbfb95a55..8478695b3177 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantOnLHSOfComparison.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantOnLHSOfComparison.html @@ -2,6 +2,7 @@ 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. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantOnRHSOfComparison.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantOnRHSOfComparison.html index 8f9d8dde2fea..f08b010e8e9f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantOnRHSOfComparison.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantOnRHSOfComparison.html @@ -2,6 +2,7 @@ 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. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantStringIntern.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantStringIntern.html index 5984cc81fb48..b66373d5521f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantStringIntern.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantStringIntern.html @@ -3,6 +3,7 @@ This inspection reports on any call to String.intern() on a compile-time constant string. Per the Java Language Specification, compile-time constant strings are automatically interned, making the call to String.intern() redundant. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantValueVariableUse.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantValueVariableUse.html index 4d071c06b455..9ef722d22c40 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantValueVariableUse.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstantValueVariableUse.html @@ -6,6 +6,7 @@ is the case if the (read) use of the variable is surrounded by an statement with an == condition which compares the variable with a constant. In such a case the use of a variable which is known to be constant can be replaced with the actual constant. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstructorCount.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstructorCount.html index b6d276deb3b2..f3281d8715de 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ConstructorCount.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ConstructorCount.html @@ -3,6 +3,7 @@ This inspection reports class with too many constructors. Classes with too many constructors are prone to initialization errors, and may often be better modeled as multiple subclasses. +

    Use the field provided below to specify the maximum acceptable number of constructors a class might have.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ContinueOrBreakFromFinallyBlock.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ContinueOrBreakFromFinallyBlock.html index 585e158ae97b..0a8cc625caf9 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ContinueOrBreakFromFinallyBlock.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ContinueOrBreakFromFinallyBlock.html @@ -4,6 +4,7 @@ This inspection reports break or continue statements inside of finally blocks. While occasionally intended, such statements are very confusing, may mask exceptions thrown, and tremendously complicate debugging. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ContinueStatement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ContinueStatement.html index d9312d7e09c2..70aeb61b3b43 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ContinueStatement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ContinueStatement.html @@ -2,6 +2,7 @@ This inspection reports continue statements. continue statements complicate refactoring, and can be confusing. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ContinueStatementWithLabel.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ContinueStatementWithLabel.html index a07824d704fc..44176177e4bb 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ContinueStatementWithLabel.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ContinueStatementWithLabel.html @@ -2,6 +2,7 @@ This inspection reports continue statements with labels. Labeled continue statements complicate refactoring, and can be confusing. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ControlFlowStatementWithoutBraces.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ControlFlowStatementWithoutBraces.html index bb3bfe8ac23b..74cc8f8551de 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ControlFlowStatementWithoutBraces.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ControlFlowStatementWithoutBraces.html @@ -4,6 +4,7 @@ This inspection reports any if, while or for statements without braces. Braces make the code easier to read and help prevent errors when modifying the code. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CovariantCompareTo.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CovariantCompareTo.html index d34053578c9c..08dedc38a056 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CovariantCompareTo.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CovariantCompareTo.html @@ -3,6 +3,7 @@ This inspection reports a class having a compareTo() method taking an argument other than java.lang.Object, if the class does not have a compareTo() method which does take java.lang.Object as its argument. Normally, this is a mistake. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CovariantEquals.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CovariantEquals.html index 49b4171b937d..7312e120a52c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CovariantEquals.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CovariantEquals.html @@ -3,6 +3,7 @@ This inspection reports a class having a equals() method taking an argument other than java.lang.Object, if the class does not have a equals() method which does take java.lang.Object as its argument. Normally, this is a mistake. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CustomClassloader.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CustomClassloader.html index 4409ff4dec6c..455da50af1b1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CustomClassloader.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CustomClassloader.html @@ -3,6 +3,7 @@ This inspection reports any user-defined subclasses of java.lang.ClassLoader. While not necessarily representing a security hole, such classes should be thoroughly and professionally inspected for possible security issues. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CustomSecurityManager.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CustomSecurityManager.html index d73211213431..d64c0b9bf30f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CustomSecurityManager.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CustomSecurityManager.html @@ -3,6 +3,7 @@ This inspection reports any user-defined subclasses of java.lang.SecurityManager. While not necessarily representing a security hole, such classes should be thoroughly and professionally inspected for possible security issues. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CyclicClassDependency.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CyclicClassDependency.html index dbb9780b5108..08835b94097f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CyclicClassDependency.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CyclicClassDependency.html @@ -3,6 +3,7 @@ This global inspection reports any classes which are mutually or cyclically dependent on other classes. Such cyclic dependencies make for fragile code and high maintenance costs. Since this inspection requires global code analysis, it is only available in batch inspection mode. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CyclicPackageDependency.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CyclicPackageDependency.html index b2d18bc7538b..3cd47e9d1afe 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CyclicPackageDependency.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CyclicPackageDependency.html @@ -3,6 +3,7 @@ This global inspection reports any packages which are mutually or cyclically dependent on other packages. Such cyclic dependencies make for fragile code and high maintenance costs. Since this inspection requires global code analysis, it is only available in batch inspection mode. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CyclomaticComplexity.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CyclomaticComplexity.html index f3e747c61a90..3714b0d4b19e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CyclomaticComplexity.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CyclomaticComplexity.html @@ -3,6 +3,7 @@ This inspection reports 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. +

    Use the field provided below to specify the maximum acceptable cyclomatic complexity a method might have.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/DateToString.html b/plugins/InspectionGadgets/src/inspectionDescriptions/DateToString.html index 26bef63346c6..9d97af092f49 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/DateToString.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/DateToString.html @@ -2,6 +2,7 @@ This inspection reports any call of toString() on java.util.Date objects. Such calls are usually incorrect in an internationalized environment. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/DeclareCollectionAsInterface.html b/plugins/InspectionGadgets/src/inspectionDescriptions/DeclareCollectionAsInterface.html index 0e23a202e170..2b5bd90b766e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/DeclareCollectionAsInterface.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/DeclareCollectionAsInterface.html @@ -2,6 +2,7 @@ This inspection reports on declarations of Collection variables made by using the collection class as the type, rather than an appropriate interface. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/DefaultNotLastCaseInSwitch.html b/plugins/InspectionGadgets/src/inspectionDescriptions/DefaultNotLastCaseInSwitch.html index 5c3c0b6073c4..9fe1cda2543d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/DefaultNotLastCaseInSwitch.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/DefaultNotLastCaseInSwitch.html @@ -2,6 +2,7 @@ This inspection reports switch statements where the default case comes before some other case. This construct is unnecessarily confusing. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/DeserializableClassInSecureContext.html b/plugins/InspectionGadgets/src/inspectionDescriptions/DeserializableClassInSecureContext.html index f2312103759d..d1c389ff0fb1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/DeserializableClassInSecureContext.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/DeserializableClassInSecureContext.html @@ -4,6 +4,7 @@ This inspection reports classes which may be deserialized. A class may be deserialized if it supports the Serializable interface, and its readObject() method is not defined to immediately throw an error. Deserializable classes may be dangerous in code intended for secure use. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/DesignForExtension.html b/plugins/InspectionGadgets/src/inspectionDescriptions/DesignForExtension.html index e0decbdce087..26d77163c4bd 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/DesignForExtension.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/DesignForExtension.html @@ -10,6 +10,7 @@ execution of code in the superclass.

    This inspection is intended for code to be used in secure environments, and is probably not appropriate for less restrictive environments. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/DisjointPackage.html b/plugins/InspectionGadgets/src/inspectionDescriptions/DisjointPackage.html index 3c348312c1dd..30695494abf8 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/DisjointPackage.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/DisjointPackage.html @@ -3,6 +3,7 @@ This inspection reports any packages whose classes can be separated into disjoint, mutually independent subsets. Such disjoint packages are a symptom of ad-hoc packaging, and may indicate a lack of conceptual cohesion. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/DivideByZero.html b/plugins/InspectionGadgets/src/inspectionDescriptions/DivideByZero.html index dbb8e5db803b..c174eb82932a 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/DivideByZero.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/DivideByZero.html @@ -1,6 +1,7 @@ This inspection reports division by zero or remainder by zero. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/DollarSignInName.html b/plugins/InspectionGadgets/src/inspectionDescriptions/DollarSignInName.html index 2cc61d8dafa4..47f393c4c7ae 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/DollarSignInName.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/DollarSignInName.html @@ -2,6 +2,7 @@ This inspection reports identifers containing dollar signs ('$'). While such identifiers are legal Java, their use outside of generated java code is strongly discouraged. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/DoubleCheckedLocking.html b/plugins/InspectionGadgets/src/inspectionDescriptions/DoubleCheckedLocking.html index fd11ad3979c1..5659ee383d39 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/DoubleCheckedLocking.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/DoubleCheckedLocking.html @@ -4,6 +4,7 @@ This inspection reports the double-checked locking construct. For a discussion of double-checked locking and why it is unsafe, see http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html +

    Use the checkbox below to ignore double-checked locking on volatile fields. Using a volatile field for double-checked locking works correctly on virtual machines which diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/DoubleLiteralMayBeFloatLiteral.html b/plugins/InspectionGadgets/src/inspectionDescriptions/DoubleLiteralMayBeFloatLiteral.html index 10b88fa6b740..59a4362a69eb 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/DoubleLiteralMayBeFloatLiteral.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/DoubleLiteralMayBeFloatLiteral.html @@ -4,6 +4,7 @@ This inspection reports double literal expressions which are immediately cast to float. Such literal expressions can be replaced with the equivalent float literal. +

    New in 10.0.2, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/DoubleNegation.html b/plugins/InspectionGadgets/src/inspectionDescriptions/DoubleNegation.html index 39f2cf7bb831..c1213bb6b190 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/DoubleNegation.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/DoubleNegation.html @@ -4,6 +4,7 @@ This inspection reports double negation.

    For example:

    if (!!functionCall())
    +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/DriverManagerGetConnection.html b/plugins/InspectionGadgets/src/inspectionDescriptions/DriverManagerGetConnection.html index d9d0292d3b1a..878988304c00 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/DriverManagerGetConnection.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/DriverManagerGetConnection.html @@ -4,6 +4,7 @@ This inspection reports any uses to javax.sql.DriverManager to acquire a JDBC connection. The javax.sql.DriverManager has been superseded by javax.sql.Datasource, which allows for connection pooling and other optimizations. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/DuplicateBooleanBranch.html b/plugins/InspectionGadgets/src/inspectionDescriptions/DuplicateBooleanBranch.html index 88a29e02acdf..6f9f607a02a3 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/DuplicateBooleanBranch.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/DuplicateBooleanBranch.html @@ -3,6 +3,7 @@ This inspection reports duplicated branches in && or || expressions. Such constructs almost always represents a typo or cut-and-paste error. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/DuplicateCondition.html b/plugins/InspectionGadgets/src/inspectionDescriptions/DuplicateCondition.html index 1c04d07a5c5d..0eddc9d51162 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/DuplicateCondition.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/DuplicateCondition.html @@ -3,6 +3,7 @@ This inspection reports on any duplicate conditions among different branches of an if statement. While it may rarely be the desired semantics, duplicate conditions usually represent programmer oversight. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/DynamicRegexReplaceableByCompiledPattern.html b/plugins/InspectionGadgets/src/inspectionDescriptions/DynamicRegexReplaceableByCompiledPattern.html index 1272f17b2569..0d35c30d60fb 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/DynamicRegexReplaceableByCompiledPattern.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/DynamicRegexReplaceableByCompiledPattern.html @@ -5,6 +5,7 @@ This inspection reports calls to the regular expression methods of Such calls may be profitably replaced with a private static final Pattern field so that the regular expression does not have to be compiled each time it is used. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ElementOnlyUsedFromTestCode.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ElementOnlyUsedFromTestCode.html index 4bb83235c869..7aabf36560e5 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ElementOnlyUsedFromTestCode.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ElementOnlyUsedFromTestCode.html @@ -2,6 +2,7 @@ This global inspection reports classes, methods or fields which are only used from test code. Since this inspection requires global code analysis, it is only available in batch inspection mode. +

    New in 11, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyCatchBlock.html b/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyCatchBlock.html index cc1163c49c72..f81294a3d54d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyCatchBlock.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyCatchBlock.html @@ -4,6 +4,7 @@ This inspection reports empty catch blocks. While occasionally intended, empty catch blocks can make debugging extremely difficult.

    At present, this inspection is disabled in JSP files. +

    Use the controls below to indicate whether catch blocks containing only comments, empty catch blocks in JUnit tests should be reported and whether to ignore empty diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyDirectory.html b/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyDirectory.html index a76300ef8ea9..04fb7dec0f63 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyDirectory.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyDirectory.html @@ -1,6 +1,7 @@ This inspection reports empty directories. +

    Use the checkbox below to have this inspection only report directories under source roots.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyFinallyBlock.html b/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyFinallyBlock.html index 09ca17225ae2..9899406f5efd 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyFinallyBlock.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyFinallyBlock.html @@ -2,6 +2,7 @@ This inspection reports empty finally blocks. Empty finally blocks usually indicate coding errors. +

    At present, this inspection is disabled in JSP files.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyInitializer.html b/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyInitializer.html index aca206b9dae5..a290c2c01a96 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyInitializer.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyInitializer.html @@ -1,6 +1,7 @@ This inspection reports empty class initializer blocks. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyStatementBody.html b/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyStatementBody.html index 99d44cfc7bc9..a9c245b9cf1c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyStatementBody.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyStatementBody.html @@ -3,6 +3,7 @@ This inspection reports if, while, do or for statements having empty bodies. While occasionally intended, this construction is confusing, and often the result of a typo. +

    At present, this inspection is disabled in JSP files.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/EmptySynchronizedStatement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/EmptySynchronizedStatement.html index 53c3cef9d2c6..d62859695715 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/EmptySynchronizedStatement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/EmptySynchronizedStatement.html @@ -3,6 +3,7 @@ This inspection reports synchronized statements having empty bodies. While theoretically this may be the semantics intended, this construction is confusing, and often the result of a typo. +

    At present, this inspection is disabled in JSP files.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyTryBlock.html b/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyTryBlock.html index 83d871a9cfee..6e6c628df7d4 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyTryBlock.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/EmptyTryBlock.html @@ -1,6 +1,7 @@ This inspection reports empty try blocks. +

    At present, this inspection is disabled in JSP files.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/EnumAsName.html b/plugins/InspectionGadgets/src/inspectionDescriptions/EnumAsName.html index ae043583c1cb..b991c879c0dd 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/EnumAsName.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/EnumAsName.html @@ -3,6 +3,7 @@ This inspection reports variables, methods, or classes named enum. Such names are legal under Java 1.4 or earlier JVMs, but will cause problems under Java 5.0 or later. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/EnumClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/EnumClass.html index cb4b6074255d..c1de52c30467 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/EnumClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/EnumClass.html @@ -2,6 +2,7 @@ This inspection reports enum classes. Such statements are not supported under Java 1.4 or earlier JVMs. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/EnumSwitchStatementWhichMissesCases.html b/plugins/InspectionGadgets/src/inspectionDescriptions/EnumSwitchStatementWhichMissesCases.html index 8cbaa9bd5cbb..24aed00e8ea2 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/EnumSwitchStatementWhichMissesCases.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/EnumSwitchStatementWhichMissesCases.html @@ -2,6 +2,7 @@ This inspection reports switch statements over enumerated types which do not include all of the enumerated type's elements as cases. +

    Use the check box below to let this inspection ignore switch statements which include a default branch. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/EnumeratedClassNamingConvention.html b/plugins/InspectionGadgets/src/inspectionDescriptions/EnumeratedClassNamingConvention.html index d9c3f40f72bb..42cbc8329b49 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/EnumeratedClassNamingConvention.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/EnumeratedClassNamingConvention.html @@ -2,6 +2,7 @@ This inspection reports enumerated classes whose names are either too short, too long, or do not follow the specified regular expression pattern. +

    Use the fields provided below to specify minimum length, maximum length and regular expression expected for enumerated class names. (Regular expressions are in standard java.util.regex format.) diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/EnumeratedConstantNamingConvention.html b/plugins/InspectionGadgets/src/inspectionDescriptions/EnumeratedConstantNamingConvention.html index 0c2bc7021dcb..139df04ce1c0 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/EnumeratedConstantNamingConvention.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/EnumeratedConstantNamingConvention.html @@ -2,6 +2,7 @@ This inspection reports enumerated constants whose names are either too short, too long, or do not follow the specified regular expression pattern. +

    Use the fields provided below to specify minimum length, maximum length and regular expression expected for enumerated constant names. (Regular expressions are in standard java.util.regex format.) diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/EnumerationCanBeIteration.html b/plugins/InspectionGadgets/src/inspectionDescriptions/EnumerationCanBeIteration.html index ee684f862147..8f31645fc67d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/EnumerationCanBeIteration.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/EnumerationCanBeIteration.html @@ -4,6 +4,7 @@ This inspection reports Enumeration methods used, which can be replaced equivalent Iterator constructs. Iterators are part of the Java Collection Framework, which has been available since Java 1.2. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/EqualsBetweenInconvertibleTypes.html b/plugins/InspectionGadgets/src/inspectionDescriptions/EqualsBetweenInconvertibleTypes.html index 874f5db04ece..0c4432f18fa3 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/EqualsBetweenInconvertibleTypes.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/EqualsBetweenInconvertibleTypes.html @@ -3,6 +3,7 @@ This inspection reports calls to .equals() where the target and argument are of incompatible types. While such a call might theoretically be useful, most likely it represents a bug. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/EqualsCalledOnEnumConstant.html b/plugins/InspectionGadgets/src/inspectionDescriptions/EqualsCalledOnEnumConstant.html index 57b1de8214ce..95690553f20f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/EqualsCalledOnEnumConstant.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/EqualsCalledOnEnumConstant.html @@ -5,6 +5,7 @@ This inspection reports calls to equals() on an identity comparison (==) because two Enum constants are equal only when they have the same identity. +

    New in 8.1, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/EqualsHashCodeCalledOnUrl.html b/plugins/InspectionGadgets/src/inspectionDescriptions/EqualsHashCodeCalledOnUrl.html index 03d5d491acc0..faeba5bdcca3 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/EqualsHashCodeCalledOnUrl.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/EqualsHashCodeCalledOnUrl.html @@ -7,6 +7,7 @@ problems because those methods uses a DNS lookup to determine the equality of two java.net.URL objects. Depending on the availability of the network and the speed of the DNS server, this can cause significant delays. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/EqualsUsesNonFinalVariable.html b/plugins/InspectionGadgets/src/inspectionDescriptions/EqualsUsesNonFinalVariable.html index c3c14c7d97ac..08cb0838bfda 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/EqualsUsesNonFinalVariable.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/EqualsUsesNonFinalVariable.html @@ -4,6 +4,7 @@ This inspection reports any implementations of equals() which access non-final variables. Such access may result in equals() returning different results at different points in an object's lifecycle, which may in turn cause problems when using the standard Collections classes. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/EqualsWhichDoesntCheckParameterClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/EqualsWhichDoesntCheckParameterClass.html index f451c60c1616..ce7608c0585a 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/EqualsWhichDoesntCheckParameterClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/EqualsWhichDoesntCheckParameterClass.html @@ -3,6 +3,7 @@ This inspection reports equals() methods which do not check the type of their parameter. Failure to check the type of the parameter in the equals() method may result in latent errors if the object is later used in an untyped collection. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ErrorRethrown.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ErrorRethrown.html index ca123561dbd7..44885df040e4 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ErrorRethrown.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ErrorRethrown.html @@ -4,6 +4,7 @@ This inspection reports try statements which catch java.lang.Error or any subclass and which do not rethrow the error. Statements which catch java.lang.ThreadDeath are not reported by this inspection. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ExceptionFromCatchWhichDoesntWrap.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ExceptionFromCatchWhichDoesntWrap.html index 52c377f46978..46d386754538 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ExceptionFromCatchWhichDoesntWrap.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ExceptionFromCatchWhichDoesntWrap.html @@ -5,6 +5,7 @@ from inside catch 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. +

    Use the first checkbox below to indicate if the inspection should ignore exceptions which receive the result of a method call on the original exception, such as getMessage(), diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ExceptionNameDoesntEndWithException.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ExceptionNameDoesntEndWithException.html index dfabd94e0cfc..506b77fc78c2 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ExceptionNameDoesntEndWithException.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ExceptionNameDoesntEndWithException.html @@ -1,6 +1,7 @@ This inspection reports exception classes whose names don't end with 'Exception'. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ExpectedExceptionNeverThrown.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ExpectedExceptionNeverThrown.html index 3d979ec5b2d7..47aefcfa28af 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ExpectedExceptionNeverThrown.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ExpectedExceptionNeverThrown.html @@ -2,6 +2,7 @@ This inspection reports checked exceptions expected by a JUnit 4 test method, which are never thrown inside the method body. +

    New in 10, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ExtendsAnnotation.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ExtendsAnnotation.html index 23e7d9264e70..90cf5aef0abd 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ExtendsAnnotation.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ExtendsAnnotation.html @@ -3,6 +3,7 @@ This inspection reports any classes declared as implementing or extending an annotation interface. While it is legal to extend an annotation interface, it is nearly meaningless, and discouraged. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ExtendsConcreteCollection.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ExtendsConcreteCollection.html index b213eed47291..f1a5ca3ba917 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ExtendsConcreteCollection.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ExtendsConcreteCollection.html @@ -5,6 +5,7 @@ This inspection reports any clases which extend concrete classes of type java.util.Map. Subclassing collection types is a common practice of novice object-oriented developers, but is considerably more brittle than delegating collection calls. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ExtendsObject.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ExtendsObject.html index 2eba274c811a..5231ff2cd268 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ExtendsObject.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ExtendsObject.html @@ -1,6 +1,7 @@ This inspection reports any classes explicitly declared to extend java.lang.Object. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ExtendsThread.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ExtendsThread.html index efd336488e03..bb8a703d553d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ExtendsThread.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ExtendsThread.html @@ -4,6 +4,7 @@ This inspection reports any clases which extend java.lang.Thread. It is usually thought better practice to delegate to rather than extend java.lang.Thread, so that a thread creator may exert better control over the thread's behavior, and to better localize all concurrency related operations. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ExtendsUtilityClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ExtendsUtilityClass.html index f144ac16f6f6..c126919c4a50 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ExtendsUtilityClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ExtendsUtilityClass.html @@ -4,6 +4,7 @@ This inspection reports any classes explicitly declared to extend a utility clas have all fields and methods declared static. Extending a utility class also allows inadvertent object instantiation of the utility class, because to allow extension the constructor can not be made private. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ExternalizableWithSerializationMethods.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ExternalizableWithSerializationMethods.html index 60bb62791d67..b097f6ab8fcb 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ExternalizableWithSerializationMethods.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ExternalizableWithSerializationMethods.html @@ -3,6 +3,7 @@ This inspection reports Externalizable classes which define readObject() or writeObject() methods. These methods are not called for serialization of Externalizable objects. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ExternalizableWithoutPublicNoArgConstructor.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ExternalizableWithoutPublicNoArgConstructor.html index 96d0db829104..615f610b91cc 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ExternalizableWithoutPublicNoArgConstructor.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ExternalizableWithoutPublicNoArgConstructor.html @@ -3,6 +3,7 @@ This inspection reports a Externalizable classes without a public no-argument constructor. When an Externalizable object is reconstructed, an instance is created using the public no-arg constructor before the readExternal method called. If a public no-arg constructor is not present a java.io.InvalidClassException will be thrown at runtime. +

    New in 12, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/FallthruInSwitchStatement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/FallthruInSwitchStatement.html index 08215ebfcf8a..2ddf8a99d871 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/FallthruInSwitchStatement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/FallthruInSwitchStatement.html @@ -5,6 +5,7 @@ This inspection reports 'fallthrough' in a switch statement. to transfer control before the next switch label. In that case, control 'falls through' to the statements after that switch label, even though the switch expression does not equal the value of the fallen-through label. While occasionally intended, this construction is confusing, and is often the result of a typo. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/FeatureEnvy.html b/plugins/InspectionGadgets/src/inspectionDescriptions/FeatureEnvy.html index 952f773b6bb8..1db0476a0940 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/FeatureEnvy.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/FeatureEnvy.html @@ -5,6 +5,7 @@ envy is defined as occurring when a method calls methods on another class three or more times. Calls to library classes, parent classes, contained or containing classes are not counted for purposes of this inspection. Feature envy is often an indication that functionality is located in the wrong class. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/FieldAccessedSynchronizedAndUnsynchronized.html b/plugins/InspectionGadgets/src/inspectionDescriptions/FieldAccessedSynchronizedAndUnsynchronized.html index 10274d0b171d..806bd3ffc939 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/FieldAccessedSynchronizedAndUnsynchronized.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/FieldAccessedSynchronizedAndUnsynchronized.html @@ -4,6 +4,7 @@ This inspection reports non-final fields which are accessed in both synchronized unsynchronized contexts. Volatile fields and accesses in constructors and initializers are ignored by this inspection. Such "partially synchronized" access is often the result of a coding oversight, and may result in unexpectedly inconsistent data structures. +

    Use the checkbox below to specify if simple getters and setters are counted as accesses too.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/FieldCanBeMovedToSubclass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/FieldCanBeMovedToSubclass.html index b230641d3876..608c82b0c23e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/FieldCanBeMovedToSubclass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/FieldCanBeMovedToSubclass.html @@ -2,6 +2,7 @@ This global inspection reports any instance fields which can be moved to a subclass. Since this inspection requires global code analysis, it is only available in batch inspection mode. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/FieldCount.html b/plugins/InspectionGadgets/src/inspectionDescriptions/FieldCount.html index f5462f0f1989..55ac08810201 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/FieldCount.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/FieldCount.html @@ -3,6 +3,7 @@ This inspection reports class with too many fields. Classes with a large number of fields are often trying to 'do too much', and may need to be refactored into multiple smaller classes. +

    Use the controls below to specify the maximum acceptable number of fields a class might have, and to indicate whether constant fields count toward this number. Per default this inspection only counts diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/FieldHasSetterButNoGetter.html b/plugins/InspectionGadgets/src/inspectionDescriptions/FieldHasSetterButNoGetter.html index d0300121bfd3..af8c68453265 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/FieldHasSetterButNoGetter.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/FieldHasSetterButNoGetter.html @@ -3,6 +3,7 @@ This inspection reports any fields which have a "setter" method but no "getter" method. While within the Java beans spec, such fields may be unnecessarily difficult to work with in certain bean containers. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/FieldHidesSuperclassField.html b/plugins/InspectionGadgets/src/inspectionDescriptions/FieldHidesSuperclassField.html index 9e313497e526..5045a149d8fb 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/FieldHidesSuperclassField.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/FieldHidesSuperclassField.html @@ -2,6 +2,7 @@ This inspection reports fields with the same name as a field in an ancestor class. Such field names may be confusing, and can be bug-prone. +

    Use the checkbox below the indicate whether this inspection should report all name clashes, or only clashes with fields which are visible from the subclass. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/FieldMayBeFinal.html b/plugins/InspectionGadgets/src/inspectionDescriptions/FieldMayBeFinal.html index dbaf9f6cf3d6..475039e88c30 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/FieldMayBeFinal.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/FieldMayBeFinal.html @@ -4,6 +4,7 @@ This inspection reports any fields which may safely be made final. A static field may be final if it is initialized in its declaration or in one static class initializer, but not both. A non-static field may be final if it is initialized in its declaration or in one non-static class initializer or in all constructors. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/FieldMayBeStatic.html b/plugins/InspectionGadgets/src/inspectionDescriptions/FieldMayBeStatic.html index c9b433223f22..033bfbec8b93 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/FieldMayBeStatic.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/FieldMayBeStatic.html @@ -2,6 +2,7 @@ This inspection reports any instance variables which may safely be made static. A field may be static if it is declared final, and is initialized with a constant. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/FieldRepeatedlyAccessed.html b/plugins/InspectionGadgets/src/inspectionDescriptions/FieldRepeatedlyAccessed.html index dc2961cea10d..5b479471108e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/FieldRepeatedlyAccessed.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/FieldRepeatedlyAccessed.html @@ -6,6 +6,7 @@ Applying the results of this inspection without consideration might have negativ This inspection reports fields which are accessed three or more times by a given method, or which are accessed in a loop. While such field access may be logically correct, it is often more performant to replace such accesses with local variables, copying the fields to a temporary local and copying back if necessary. +

    Use the checkbox below to ignore final fields being repeatedly accessed, as many compilers and JVMs can optimize that case without explicit creation of a temporary local variable. Constant fields are always ignored by this inspection. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/FinalClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/FinalClass.html index 330dc81d2a22..54059dea46c9 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/FinalClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/FinalClass.html @@ -2,6 +2,7 @@ This inspection reports classes being declared final. Some coding standards discourage final classes. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/FinalMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/FinalMethod.html index 01effd407f76..e2b776382131 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/FinalMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/FinalMethod.html @@ -2,6 +2,7 @@ This inspection reports methods being declared final. Some coding standards discourage final methods. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/FinalMethodInFinalClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/FinalMethodInFinalClass.html index c1eba485fc14..f014731268a4 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/FinalMethodInFinalClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/FinalMethodInFinalClass.html @@ -2,6 +2,7 @@ This inspection reports methods being declared final in classes that are declared final. This is unnecessary, and may be confusing. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/FinalPrivateMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/FinalPrivateMethod.html index 8e9e50482b5f..08a69e5ab5b2 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/FinalPrivateMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/FinalPrivateMethod.html @@ -4,6 +4,7 @@ This inspection reports methods declared final and private. As private methods cannot be meaningfully overridden, declaring them final is redundant. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/FinalStaticMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/FinalStaticMethod.html index d78ba0deaec8..51d3f6e5f74f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/FinalStaticMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/FinalStaticMethod.html @@ -6,6 +6,7 @@ accessed via the super class, making a final declaration not very necessa Declaring a static method final does prevent subclasses from defining a static method with the same signature. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/Finalize.html b/plugins/InspectionGadgets/src/inspectionDescriptions/Finalize.html index 1c8a8b55d36e..fd037620112c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/Finalize.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/Finalize.html @@ -4,6 +4,7 @@ This inspection reports any implementations of a finalize() method. For performance reasons or due to inability to guarantee that finalize() will ever be called, some coding standards prohibit its use. +

    Use the checkbox below to ignore finalize() implementations with an empty method body or a body containing only if statements which have a condition which diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/FinalizeCallsSuperFinalize.html b/plugins/InspectionGadgets/src/inspectionDescriptions/FinalizeCallsSuperFinalize.html index 9f8dd35570be..90899bea2aa1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/FinalizeCallsSuperFinalize.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/FinalizeCallsSuperFinalize.html @@ -3,6 +3,7 @@ This inspection reports any implementations of the Object.finalize() method which do not call super.finalize(). Failing to call super.finalize() may result in objects failing to properly free any resources held or do other cleanup activities. +

    Use the checkboxes below to ignore direct subclasses of java.lang.Object or to ignore finalize() implementations with an empty diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/FinalizeNotProtected.html b/plugins/InspectionGadgets/src/inspectionDescriptions/FinalizeNotProtected.html index ed10bb9e327b..bd5d83809f54 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/FinalizeNotProtected.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/FinalizeNotProtected.html @@ -3,6 +3,7 @@ This inspection reports any implementations of the Object.finalize() method which are not declared protected. finalize() should be declare protected, to prevent it from being explicitly invoked by other classes. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/FinallyBlockCannotCompleteNormally.html b/plugins/InspectionGadgets/src/inspectionDescriptions/FinallyBlockCannotCompleteNormally.html index 23bfddaf5fc2..9ca990f848cb 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/FinallyBlockCannotCompleteNormally.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/FinallyBlockCannotCompleteNormally.html @@ -2,6 +2,7 @@ This inspection reports finally blocks which can not complete normally. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/FloatingPointEquality.html b/plugins/InspectionGadgets/src/inspectionDescriptions/FloatingPointEquality.html index 870a09c1d34b..43ea70eb4275 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/FloatingPointEquality.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/FloatingPointEquality.html @@ -5,6 +5,7 @@ being compared with == or !=. Floating point values are inherently inaccurate, and comparing them for exact equality is almost never the desired semantics. This inspection ignores comparisons with zero literals. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ForCanBeForeach.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ForCanBeForeach.html index 886fe67fc8f5..4563b819f470 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ForCanBeForeach.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ForCanBeForeach.html @@ -3,6 +3,7 @@ This inspection reports for loops which iterate over collections or arrays, and can be replaced with the "for each" iteration syntax, available in Java 5 and newer. +

    Use the first checkbox below to find loops involving list.get(index) calls. These loops generally can be replaced with the foreach loops, unless they modify underlying list in the process, e.g. by calling list.remove(index). diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ForLoopReplaceableByWhile.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ForLoopReplaceableByWhile.html index 2a4e16bda97d..4650c95513fe 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ForLoopReplaceableByWhile.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ForLoopReplaceableByWhile.html @@ -3,6 +3,7 @@ This inspection reports for loops which contain neither initialization or update components, and can thus be replaced by simpler while statements. +

    Use the checkbox below if you wish this inspection to ignore for loops with trivial or non-existent conditions.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ForLoopThatDoesntUseLoopVariable.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ForLoopThatDoesntUseLoopVariable.html index 4e6dd35f7bc5..84ba3e9169f1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ForLoopThatDoesntUseLoopVariable.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ForLoopThatDoesntUseLoopVariable.html @@ -2,6 +2,7 @@ This inspection reports for loops where the condition or update does not use the for loop variable. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ForLoopWithMissingComponent.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ForLoopWithMissingComponent.html index fbaa4ec2ac6b..a69d51e4ba66 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ForLoopWithMissingComponent.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ForLoopWithMissingComponent.html @@ -3,6 +3,7 @@ This inspection reports for loops that lack initialization, condition, or update clauses. Some coding styles prohibit such loops. +

    Use the checkbox below to let this inspection ignore loops which use an iterator. This is a standard way to iterate over a collection, in which the diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ForeachStatement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ForeachStatement.html index 0bca40a2ee01..040d6a73f734 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ForeachStatement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ForeachStatement.html @@ -2,6 +2,7 @@ This inspection reports the Java 5 for statement syntax. Such for statements are not supported under Java 1.4 and older. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/HardcodedFileSeparators.html b/plugins/InspectionGadgets/src/inspectionDescriptions/HardcodedFileSeparators.html index 06fa856c8f8b..c1f86cc7d6c3 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/HardcodedFileSeparators.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/HardcodedFileSeparators.html @@ -8,6 +8,7 @@ strings representing a java.util.TimeZone ID, strings that are a valid re

    Normally, usage of the example/* MIME media type outside of an example (e.g. in a Content-Type header) is an error. Use the checkbox below to include example/* in the set of recognized media types. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/HardcodedLineSeparators.html b/plugins/InspectionGadgets/src/inspectionDescriptions/HardcodedLineSeparators.html index 43e698716ad7..39ed41aad409 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/HardcodedLineSeparators.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/HardcodedLineSeparators.html @@ -2,6 +2,7 @@ This inspection reports the newline (\n) or return (\r) characters in a string or character literal. These characters are commonly used as line separators, and portability may suffer they are hardcoded. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/HashCodeUsesNonFinalVariable.html b/plugins/InspectionGadgets/src/inspectionDescriptions/HashCodeUsesNonFinalVariable.html index 6b8b69b390f7..93cd3d1dddd4 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/HashCodeUsesNonFinalVariable.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/HashCodeUsesNonFinalVariable.html @@ -4,6 +4,7 @@ This inspection reports any implementations of hashcode() which access non-final variables. Such access may result in hashcode() returning different values at different points in an object's lifecycle, which may in turn cause problems when using the standard Collections classes. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/HibernateResource.html b/plugins/InspectionGadgets/src/inspectionDescriptions/HibernateResource.html index b5602f336725..18d36b408d7d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/HibernateResource.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/HibernateResource.html @@ -5,6 +5,7 @@ This inspection reports any Hibernate resource which is not opened in a tryfinally block. Such resources may be inadvertently leaked if an exception is thrown before the resource is closed. Hibernate resources reported by this inspection include org.hibernate.Session. +

    Use the checkbox below to specify if a Hibernate resource is allowed to be opened inside a try block. This style is less desirable because it is more verbose than opening a resource diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/HtmlTagCanBeJavadocTag.html b/plugins/InspectionGadgets/src/inspectionDescriptions/HtmlTagCanBeJavadocTag.html index 90cb3d6b696a..d8983bf0ac24 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/HtmlTagCanBeJavadocTag.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/HtmlTagCanBeJavadocTag.html @@ -3,6 +3,7 @@ This inspection reports use of <code> tags in Javadoc comments. Since JDK1.5 these constructs may be replaced with {@code ...} constructs. This allows the use of angle brackets (<>) inside the comment, instead of HTML character entities. +

    New in 10.5, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/IOResource.html b/plugins/InspectionGadgets/src/inspectionDescriptions/IOResource.html index 5c2af355742f..4c0c383c9a15 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/IOResource.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/IOResource.html @@ -9,6 +9,7 @@ by this inspection include java.io.InputStream, java.io.Writer and java.io.RandomAccessFile. I/O resources which are wrapped by other I/O resources are not reported, as the wrapped resource will be closed by the wrapping resource. +

    Use the table below to specify which I/O resources should be ignored by this inspection. Specify I/O resource classes here which do not need to be closed. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/IfCanBeSwitch.html b/plugins/InspectionGadgets/src/inspectionDescriptions/IfCanBeSwitch.html index 8a4c71f2c14c..61f6cb6c3bdd 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/IfCanBeSwitch.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/IfCanBeSwitch.html @@ -3,6 +3,7 @@ This inspection reports any if statements with which can be replaced by a switch statement. This inspection will automatically suggest string switches when the project language level is jdk 1.7 or higher. +

    Use the text field below to indicate the minimum number of case branches the resulting switch statement should have. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/IfMayBeConditional.html b/plugins/InspectionGadgets/src/inspectionDescriptions/IfMayBeConditional.html index 07dbf34bee75..245111adac62 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/IfMayBeConditional.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/IfMayBeConditional.html @@ -16,6 +16,7 @@ may be expressed as:

       bar = foo == null ? null : foo.get();
     
    +

    Use the checkbox below to let this inspection report if statements containing method calls which can be replaced with a single method call with a conditional expression argument. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/IfStatementWithIdenticalBranches.html b/plugins/InspectionGadgets/src/inspectionDescriptions/IfStatementWithIdenticalBranches.html index 2a971198b3d4..e1c1ca5f40b1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/IfStatementWithIdenticalBranches.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/IfStatementWithIdenticalBranches.html @@ -3,6 +3,7 @@ This inspection reports if statements with identical "then" and else branches. Such statements are almost certainly programmer error. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/IfStatementWithTooManyBranches.html b/plugins/InspectionGadgets/src/inspectionDescriptions/IfStatementWithTooManyBranches.html index cb3ab997d606..425f18c85870 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/IfStatementWithTooManyBranches.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/IfStatementWithTooManyBranches.html @@ -3,6 +3,7 @@ This inspection reports if statements with too many branches. Such statements may be confusing, and are often the sign of inadequate levels of design abstraction. +

    Use the field provided below to specify the maximum number of branches expected.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/IgnoreResultOfCall.html b/plugins/InspectionGadgets/src/inspectionDescriptions/IgnoreResultOfCall.html index eeafa61f205e..643f05700930 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/IgnoreResultOfCall.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/IgnoreResultOfCall.html @@ -7,6 +7,7 @@ the result of a call is likely to be an error include java.io.inputStream.rea which returns the number of bytes actually read, any method on java.lang.String or java.math.BigInteger, as all of those methods are side-effect free and thus pointless if ignored. +

    Use the panel below to enter the class names and method names of the methods you wish to check for ignored returns. Class names must be specified as a simple string, while method names may be diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/IgnoredJUnitTest.html b/plugins/InspectionGadgets/src/inspectionDescriptions/IgnoredJUnitTest.html index 916df4325f86..33cc38bcb97f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/IgnoredJUnitTest.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/IgnoredJUnitTest.html @@ -1,6 +1,7 @@ -This inspection reports JUnit tests which are annotated with @Ignore. +This inspection reports JUnit tests which are annotated with @Ignore. +

    New in 11, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ImplicitArrayToString.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ImplicitArrayToString.html index 167c4c6ba2f2..7040876f85b5 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ImplicitArrayToString.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ImplicitArrayToString.html @@ -4,6 +4,7 @@ This inspection reports any arrays used in String concatenations or as parameters to java.io.PrintStream methods (such as System.out.println()). Usually in such a case, the contents of the array were meant to be used and the not array object itself. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ImplicitCallToSuper.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ImplicitCallToSuper.html index 4c4d5e466389..c0d36e2a52a2 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ImplicitCallToSuper.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ImplicitCallToSuper.html @@ -4,6 +4,7 @@ This inspection reports constructors which do not begin with calls to "super" co other constructors of the same class. Such constructors can be thought of as implicitly beginning with a call to super(). Some coding standards prefer that such calls to super() be made explicitly. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ImplicitNumericConversion.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ImplicitNumericConversion.html index b80804254658..a1f747e9800c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ImplicitNumericConversion.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ImplicitNumericConversion.html @@ -3,13 +3,14 @@ This inspection reports implicit conversion between numeric types. Implicit numeric conversion is not a problem in itself, but if unexpected may be a source of difficult to trace bugs. +

    Use the first checkbox below if you wish this inspection to ignore implicit conversions which can not result in loss of data (e.g. int->long). -
    Use the second checkbox to indicate that this inspection should ignore all conversions from +

    Use the second checkbox to indicate that this inspection should ignore all conversions from and to char. -
    Use the third checkbox to let this inspection ignore all conversions from literals and +

    Use the third checkbox to let this inspection ignore all conversions from literals and compile time constants.

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/IncompatibleMask.html b/plugins/InspectionGadgets/src/inspectionDescriptions/IncompatibleMask.html index 7e5a1e1ebe46..fc96945f2791 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/IncompatibleMask.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/IncompatibleMask.html @@ -5,6 +5,7 @@ evaluate to true or false. Expressions checked are of the form (var & constant1) == constant2 or (var | constant1) == constant2, where constant1 and constant2 are incompatible bitmask constants. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/IncrementDecrementUsedAsExpression.html b/plugins/InspectionGadgets/src/inspectionDescriptions/IncrementDecrementUsedAsExpression.html index 72c3c9e97b89..d1179ea334b5 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/IncrementDecrementUsedAsExpression.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/IncrementDecrementUsedAsExpression.html @@ -3,6 +3,7 @@ This inspection reports increment or decrement expressions nested inside other expressions. While admirably terse, such expressions may be confusing, and violate the general design principle that a given construct should do precisely one thing. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/IndexOfReplaceableByContains.html b/plugins/InspectionGadgets/src/inspectionDescriptions/IndexOfReplaceableByContains.html index 8440396e088a..4639220fe105 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/IndexOfReplaceableByContains.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/IndexOfReplaceableByContains.html @@ -6,6 +6,7 @@ expressions which can be replaced with a call to the

    This inspection only reports if the project or module is configured to use a language level of 5.0 or higher. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/InfiniteLoopStatement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/InfiniteLoopStatement.html index 813e2c6dd316..fe10bc41c1d8 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/InfiniteLoopStatement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/InfiniteLoopStatement.html @@ -4,6 +4,7 @@ This inspection reports for, while, or do statements which can only exit by throwing an exception. While such statements may be correct, they are often a symptom of coding errors. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/InfiniteRecursion.html b/plugins/InspectionGadgets/src/inspectionDescriptions/InfiniteRecursion.html index b280febe3905..064cd56f2747 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/InfiniteRecursion.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/InfiniteRecursion.html @@ -3,6 +3,7 @@ This inspection reports methods which must either recurse infinitely or throw an exception. Methods reported by this inspection can not return normally. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/InnerClassMayBeStatic.html b/plugins/InspectionGadgets/src/inspectionDescriptions/InnerClassMayBeStatic.html index 4761460a26a1..abfb36500975 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/InnerClassMayBeStatic.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/InnerClassMayBeStatic.html @@ -3,6 +3,7 @@ This inspection reports any inner classes which may safely be made static. An inner class may be static if it doesn't reference its enclosing class instance. A static inner class uses slightly less memory. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/InnerClassOnInterface.html b/plugins/InspectionGadgets/src/inspectionDescriptions/InnerClassOnInterface.html index 9f9a31233c46..95629ffc78a7 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/InnerClassOnInterface.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/InnerClassOnInterface.html @@ -4,6 +4,7 @@ This inspection reports inner classes of interface classes. Some coding standards discourage such classes. Enumeration classes and annotation classes are not reported by this inspection. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/InnerClassVariableHidesOuterClassVariable.html b/plugins/InspectionGadgets/src/inspectionDescriptions/InnerClassVariableHidesOuterClassVariable.html index a4461984d35a..d1a1911f60af 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/InnerClassVariableHidesOuterClassVariable.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/InnerClassVariableHidesOuterClassVariable.html @@ -2,6 +2,7 @@ This inspection reports inner class variables being named identically to member variables of a containing class. Such a variable name may be confusing. +

    Use the checkbox below the indicate whether this inspection should report all name clashes, or only clashes with fields which are visible from the inner class. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceMethodNamingConvention.html b/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceMethodNamingConvention.html index ee238836d7e1..a933b2648864 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceMethodNamingConvention.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceMethodNamingConvention.html @@ -3,6 +3,7 @@ This inspection reports instance methods whose names are either too short, too long, or do not follow the specified regular expression pattern. Instance methods that override library methods are ignored by this inspection. +

    Use the fields provided below to specify minimum length, maximum length and regular expression expected for instance method names. (Regular expressions are in standard java.util.regex format.) diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceVariableInitialization.html b/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceVariableInitialization.html index 496abb82dbe9..23ce77241843 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceVariableInitialization.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceVariableInitialization.html @@ -2,10 +2,11 @@ This inspection reports instance variables which are not guaranteed to be initialized upon object initialization.

    -Use the checkbox below to indicate whether you want uninitialized primitive fields to be reported. -

    Note: This inspection uses a very conservative dataflow algorithm, and may report instance variables as uninitialized incorrectly. Variables reported as initialized will always be initialized. + +

    +Use the checkbox below to indicate whether you want uninitialized primitive fields to be reported.

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceVariableNamingConvention.html b/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceVariableNamingConvention.html index 7fdb10c53409..e5ec6483d18f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceVariableNamingConvention.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceVariableNamingConvention.html @@ -2,6 +2,7 @@ This inspection reports instance variables whose names are either too short, too long, or do not follow the specified regular expression pattern. +

    Use the fields provided below to specify minimum length, maximum length and regular expression expected for instance variable names. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceVariableOfConcreteClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceVariableOfConcreteClass.html index b0fe998da6a7..b742d317e6f5 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceVariableOfConcreteClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceVariableOfConcreteClass.html @@ -3,6 +3,7 @@ This inspection reports any instance fields whose type is declared to be 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. +

    Use the checkbox below to have this inspection ignore instance fields whose type is an abstract class.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceofCatchParameter.html b/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceofCatchParameter.html index 48768ab7773c..fb2a3c180a35 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceofCatchParameter.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceofCatchParameter.html @@ -3,6 +3,7 @@ This inspection reports any instanceof expressions on catch block parameters. Testing the type of catch parameters is usually better done by having separate catch blocks, rather than instanceof. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceofChain.html b/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceofChain.html index a8e1c7eaf5ce..b3f7605c5562 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceofChain.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceofChain.html @@ -4,6 +4,7 @@ This inspection reports any chains of if-else statements all of whose conditions (or combinations of such expressions). Such constructions usually indicate a failure of object-oriented design, which dictates that such type-based dispatch should be done via polymorphic method calls rather than explicit chains of type tests. +

    Use the checkbox below to ignore instanceof expressions on library classes.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceofIncompatibleInterface.html b/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceofIncompatibleInterface.html index 0ffc8348e8e9..131ca3a28a43 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceofIncompatibleInterface.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceofIncompatibleInterface.html @@ -6,6 +6,7 @@ implements the compared interface, nor has any visible subclasses which implemen While it is possible that this was intended, such a construct is most likely an error, where the resulting instanceof expression always evaluates to false +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceofInterfaces.html b/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceofInterfaces.html index 99db1657d152..8d523346bee6 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceofInterfaces.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceofInterfaces.html @@ -3,6 +3,7 @@ This inspection reports on uses of instanceof where the type checked for is a concrete class, rather than an interface. Such uses often indicate excessive coupling to concrete implementations, rather than abstractions. instanceof expressions whose classes come from system or third-party libraries will not be reported by this inspection. +

    Use the checkbox below to have this inspection ignore instanceof on abstract classes.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceofThis.html b/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceofThis.html index 8f3ff23d49c4..0a96a2ca4df2 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceofThis.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/InstanceofThis.html @@ -4,6 +4,7 @@ This inspection reports on uses of instanceof where the expression checked is this. Such expressions are indicative of a failure of object-oriented design, and should be replaced by polymorphic constructions. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/InstantiatingObjectToGetClassObject.html b/plugins/InspectionGadgets/src/inspectionDescriptions/InstantiatingObjectToGetClassObject.html index a0512fbcf5b5..e100ba383a4a 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/InstantiatingObjectToGetClassObject.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/InstantiatingObjectToGetClassObject.html @@ -3,6 +3,7 @@ This inspection reports any cases where new objects are instantiated for the purpose of accessing its class object. It is more performant to access the class object directly by name. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/InstantiationOfUtilityClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/InstantiationOfUtilityClass.html index 521e5903e793..9a21072aade7 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/InstantiationOfUtilityClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/InstantiationOfUtilityClass.html @@ -4,6 +4,7 @@ This inspection reports any new expressions which instantiate utility cla Utility classes have all fields and methods declared static, and their presence may indicate a lack of object-oriented design. Instantiation of such classes most likely indicates programmer error. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/IntLiteralMayBeLongLiteral.html b/plugins/InspectionGadgets/src/inspectionDescriptions/IntLiteralMayBeLongLiteral.html index 139171c86ce6..16c42076d529 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/IntLiteralMayBeLongLiteral.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/IntLiteralMayBeLongLiteral.html @@ -4,6 +4,7 @@ This inspection reports int literal expressions which are immediately cast to long. Such literal expressions can be replaced with the equivalent long literal. +

    New in 9, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/IntegerDivisionInFloatingPointContext.html b/plugins/InspectionGadgets/src/inspectionDescriptions/IntegerDivisionInFloatingPointContext.html index 34840b861e60..4ffbecf5cc3c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/IntegerDivisionInFloatingPointContext.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/IntegerDivisionInFloatingPointContext.html @@ -4,6 +4,7 @@ This inspection reports integer division where the result is either directly or indirectly used as a floating point number. Such division is often an error, and may result in unexpected results due to truncation in integer division. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/IntegerMultiplicationImplicitCastToLong.html b/plugins/InspectionGadgets/src/inspectionDescriptions/IntegerMultiplicationImplicitCastToLong.html index b8f997c55025..bf7e536a7b84 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/IntegerMultiplicationImplicitCastToLong.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/IntegerMultiplicationImplicitCastToLong.html @@ -3,6 +3,7 @@ This inspection reports integer multiplication or left shift which are implicitly cast to long. Such multiplication is often an error, as overflow truncation may occur unexpectedly. +

    Use the checkbox below to ignore compile time constant expressions which evaluate to a non-overflowing value. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/InterfaceNamingConvention.html b/plugins/InspectionGadgets/src/inspectionDescriptions/InterfaceNamingConvention.html index c63cac41ee48..157101edbdce 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/InterfaceNamingConvention.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/InterfaceNamingConvention.html @@ -2,6 +2,7 @@ This inspection reports interfaces whose names are either too short, too long, or do not follow the specified regular expression pattern. +

    Use the fields provided below to specify minimum length, maximum length and regular expression expected for interface names. (Regular expressions are in standard java.util.regex format.) diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/InterfaceNeverImplemented.html b/plugins/InspectionGadgets/src/inspectionDescriptions/InterfaceNeverImplemented.html index 54116406d61e..b8b0959bb579 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/InterfaceNeverImplemented.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/InterfaceNeverImplemented.html @@ -1,6 +1,7 @@ This inspection reports interfaces which have no concrete subclasses. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/InterfaceWithOnlyOneDirectInheritor.html b/plugins/InspectionGadgets/src/inspectionDescriptions/InterfaceWithOnlyOneDirectInheritor.html index 977b439b3577..fd553dda9e75 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/InterfaceWithOnlyOneDirectInheritor.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/InterfaceWithOnlyOneDirectInheritor.html @@ -8,6 +8,7 @@ direct inheritor. While such interfaces may offer admirable clarity of design, in memory-constrained or bandwidth-limited environments, they needlessly increase the total footprint of the application. Consider merging the interface with its inheritor. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/IteratorHasNextCallsIteratorNext.html b/plugins/InspectionGadgets/src/inspectionDescriptions/IteratorHasNextCallsIteratorNext.html index 11766684465e..f0110fae491b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/IteratorHasNextCallsIteratorNext.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/IteratorHasNextCallsIteratorNext.html @@ -4,6 +4,7 @@ This inspection reports any implementations of Iterator.hasNext() which call next() on themselves. While this is a common mistake, such calls are almost certainly in error, as hasNext() should not modify the iterators state, while next() should. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/IteratorNextDoesNotThrowNoSuchElementException.html b/plugins/InspectionGadgets/src/inspectionDescriptions/IteratorNextDoesNotThrowNoSuchElementException.html index f2f1e674408a..ef2d13309318 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/IteratorNextDoesNotThrowNoSuchElementException.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/IteratorNextDoesNotThrowNoSuchElementException.html @@ -4,6 +4,7 @@ This inspection reports any implementations of Iterator.next() which can not throw java.util.NoSuchElementException. Such implementations violate the contract of java.util.Iterator, and may result in subtle bugs if the iterator is ever used in a non-standard fashion. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/JDBCExecuteWithNonConstantString.html b/plugins/InspectionGadgets/src/inspectionDescriptions/JDBCExecuteWithNonConstantString.html index 4c588ec93f9d..748c205df5e3 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/JDBCExecuteWithNonConstantString.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/JDBCExecuteWithNonConstantString.html @@ -3,6 +3,7 @@ This inspection reports the calls to java.sql.Statement.execute() or any of its variants which take a dynamically-constructed string as the query to execute. Constructed SQL statements are a common source of security breaches. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/JDBCPrepareStatementWithNonConstantString.html b/plugins/InspectionGadgets/src/inspectionDescriptions/JDBCPrepareStatementWithNonConstantString.html index 4ec87b5617cb..764b67a6027c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/JDBCPrepareStatementWithNonConstantString.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/JDBCPrepareStatementWithNonConstantString.html @@ -4,6 +4,7 @@ This inspection reports the calls to java.sql.Connection.prepareStatement()java.sql.Connection.prepareCall()or any of their variants which take a dynamically-constructed string as the statement to prepare. Constructed SQL statements are a common source of security breaches. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/JDBCResource.html b/plugins/InspectionGadgets/src/inspectionDescriptions/JDBCResource.html index a20791b3adf0..2093303db7f8 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/JDBCResource.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/JDBCResource.html @@ -8,6 +8,7 @@ by this inspection include java.sql.Connection, java.sql.PreparedStatement, java.sql.CallableStatement, and java.sql.ResultSet. +

    Use the checkbox below to specify if a JDBC resource is allowed to be opened inside a try block. This style is less desirable because it is more verbose than opening a resource diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/JNDIResource.html b/plugins/InspectionGadgets/src/inspectionDescriptions/JNDIResource.html index c41d40f8d50d..ec3a3c36f6c6 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/JNDIResource.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/JNDIResource.html @@ -6,6 +6,7 @@ block and closed in the corresponding finally block. Such resources may be inadvertently leaked if an exception is thrown before the resource is closed. JNDI resources reported by this inspection include javax.naming.InitialContext, and javax.naming.NamingEnumeration. +

    Use the checkbox below to specify if a JNDI Resource is allowed to be opened inside a try block. This style is less desirable because it is more verbose than opening a resource diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/JUnit4AnnotatedMethodInJUnit3TestCase.html b/plugins/InspectionGadgets/src/inspectionDescriptions/JUnit4AnnotatedMethodInJUnit3TestCase.html index a01aa266abcb..04475ada1283 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/JUnit4AnnotatedMethodInJUnit3TestCase.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/JUnit4AnnotatedMethodInJUnit3TestCase.html @@ -3,6 +3,7 @@ This inspection reports JUnit 4 @Test annotated methods which are located inside a class extending the abstract JUnit 3 class TestCase. Mixing JUnit API's like this is confusing and can lead to problems running the tests, e.g. method annotated with @Ignore won't be actually ignored if its name starts with test +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/JUnitAbstractTestClassNamingConvention.html b/plugins/InspectionGadgets/src/inspectionDescriptions/JUnitAbstractTestClassNamingConvention.html index 26f4a636e305..7e39447d9464 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/JUnitAbstractTestClassNamingConvention.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/JUnitAbstractTestClassNamingConvention.html @@ -4,6 +4,7 @@ This inspection reports abstract JUnit test classes whose names are either too s the specified regular expression pattern. For clarity and ease of tooling, it is a common coding standard that abstract JUnit test classes follow a specific pattern, usually requiring that the class name end with "TestCase". +

    Use the fields provided below to specify minimum length, maximum length and regular expression expected for class names. (Regular expressions are in standard java.util.regex format.) diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/JUnitTestClassNamingConvention.html b/plugins/InspectionGadgets/src/inspectionDescriptions/JUnitTestClassNamingConvention.html index 58426f102e0f..ee08146fd1f9 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/JUnitTestClassNamingConvention.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/JUnitTestClassNamingConvention.html @@ -4,6 +4,7 @@ This inspection reports JUnit test classes whose names are either too short, too the specified regular expression pattern. For clarity and ease of tooling, it is a common coding standard that concrete JUnit test classes follow a specific pattern, usually requiring that the class name end with "Test". +

    Use the fields provided below to specify minimum length, maximum length and regular expression expected for class names. (Regular expressions are in standard java.util.regex format.) diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/JavaLangImport.html b/plugins/InspectionGadgets/src/inspectionDescriptions/JavaLangImport.html index 3f1232e3990e..dc513bf94872 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/JavaLangImport.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/JavaLangImport.html @@ -4,6 +4,7 @@ This inspection reports any import statements which refer to the java. Such import statements are unnecessary. Since IDEA can automatically detect and fix such statements with its "Optimize Imports" command, this inspection is mostly useful for off-line reporting on code bases that you don't intend to change. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/JavaLangReflect.html b/plugins/InspectionGadgets/src/inspectionDescriptions/JavaLangReflect.html index 6e7c8cfcff0b..924d436ed937 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/JavaLangReflect.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/JavaLangReflect.html @@ -3,6 +3,7 @@ This inspection reports any uses of classes in the java.lang.reflect package. While powerful, reflection in Java is often slow, and may possibly be unsafe is it prevents compile-time type and exception checking. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/KeySetIterationMayUseEntrySet.html b/plugins/InspectionGadgets/src/inspectionDescriptions/KeySetIterationMayUseEntrySet.html index 3fa74038d576..3bdb51c07ae8 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/KeySetIterationMayUseEntrySet.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/KeySetIterationMayUseEntrySet.html @@ -5,6 +5,7 @@ of a java.util.Map instance, where the iterated keys are used to retrieve the values from the map. Such iteration may be more efficiently replaced by iteration over the entrySet() of the map. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/LabeledStatement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/LabeledStatement.html index c77620f13822..34345f1ea535 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/LabeledStatement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/LabeledStatement.html @@ -1,6 +1,7 @@ This inspection reports labeled statements. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/LawOfDemeter.html b/plugins/InspectionGadgets/src/inspectionDescriptions/LawOfDemeter.html index 657f2f5bdb68..9c1fa11fcbd2 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/LawOfDemeter.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/LawOfDemeter.html @@ -3,6 +3,7 @@ This inspection reports any Law of Demeter violations. See here http://en.wikipedia.org/wiki/Law_of_Demeter for an explanation what the Law of Demeter is. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/LengthOneStringInIndexOf.html b/plugins/InspectionGadgets/src/inspectionDescriptions/LengthOneStringInIndexOf.html index ddb29afe39cf..18d3db1d9cb3 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/LengthOneStringInIndexOf.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/LengthOneStringInIndexOf.html @@ -4,6 +4,7 @@ This inspection reports String literals of length one being used as a parameter in String.indexOf() or String.lastIndexOf() calls. These String literals may be replaced by equivalent character literals, gaining some performance enhancement. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/LengthOneStringsInConcatenation.html b/plugins/InspectionGadgets/src/inspectionDescriptions/LengthOneStringsInConcatenation.html index b477dce7f5dd..fdc1362ee289 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/LengthOneStringsInConcatenation.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/LengthOneStringsInConcatenation.html @@ -2,6 +2,7 @@ This inspection reports String literals of length one being used in concatenation. These literals may be replaced by equivalent character literals, gaining some performance enhancement. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/LimitedScopeInnerClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/LimitedScopeInnerClass.html index b5c802d3d4eb..8fbd9b3fcd47 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/LimitedScopeInnerClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/LimitedScopeInnerClass.html @@ -3,6 +3,7 @@ This inspection reports any limited-scope inner classes. Some code standards discourage the use of limited-scope inner classes, and they are unusual enough as to possibly be confusing. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ListIndexOfReplaceableByContains.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ListIndexOfReplaceableByContains.html index bdc1e2bcdb2e..bd0bcac85d82 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ListIndexOfReplaceableByContains.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ListIndexOfReplaceableByContains.html @@ -3,6 +3,7 @@ This inspection reports any List.indexOf() expressions which can be replaced with the method List.contains(). +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ListenerMayUseAdapter.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ListenerMayUseAdapter.html index b5904f14e9da..b5aeff8ce4cc 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ListenerMayUseAdapter.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ListenerMayUseAdapter.html @@ -4,6 +4,7 @@ This inspection reports any classes which implement a listener, but may extend the corresponding adapter instead. The quickfix for this inspection will also remove any redundant empty methods left over after replacing the implementation of the listener with an extension of the corresponding adapter. +

    Use the checkbox below to indicate if the inspection should warn even if no empty implementing methods are found. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/LiteralAsArgToStringEquals.html b/plugins/InspectionGadgets/src/inspectionDescriptions/LiteralAsArgToStringEquals.html index ba18541d1000..2463fe79eb27 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/LiteralAsArgToStringEquals.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/LiteralAsArgToStringEquals.html @@ -3,6 +3,7 @@ This inspection reports calls to .equals() whose arguments are String literals. Some coding standards specify that String literals should be the target of .equals(), rather than argument, thus minimizing NullPointerExceptions. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/LoadLibraryWithNonConstantString.html b/plugins/InspectionGadgets/src/inspectionDescriptions/LoadLibraryWithNonConstantString.html index a65b6ebbef12..f8c925626d8f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/LoadLibraryWithNonConstantString.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/LoadLibraryWithNonConstantString.html @@ -3,6 +3,7 @@ This inspection reports the calls to java.lang.System.loadLibrary() which take a dynamically-constructed string as the execution strings. Constructed library location strings are a common source of security breaches. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/LocalVariableHidingMemberVariable.html b/plugins/InspectionGadgets/src/inspectionDescriptions/LocalVariableHidingMemberVariable.html index 5a295a61f6f0..d224afc21cd5 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/LocalVariableHidingMemberVariable.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/LocalVariableHidingMemberVariable.html @@ -2,6 +2,7 @@ This inspection reports local variables being named identically to visible member variables of their class. Such a variable name may be confusing. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/LocalVariableNamingConvention.html b/plugins/InspectionGadgets/src/inspectionDescriptions/LocalVariableNamingConvention.html index 40c1843bf2d3..89fe04822395 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/LocalVariableNamingConvention.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/LocalVariableNamingConvention.html @@ -2,6 +2,7 @@ This inspection reports local variables whose names are either too short, too long, or do not follow the specified regular expression pattern. +

    Use the fields provided below to specify minimum length, maximum length and regular expression expected for local variables names. (Regular expressions are in standard java.util.regex format.) diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/LocalVariableOfConcreteClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/LocalVariableOfConcreteClass.html index 047feb34d3dc..2cf8f686d2b2 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/LocalVariableOfConcreteClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/LocalVariableOfConcreteClass.html @@ -4,6 +4,7 @@ This inspection reports any local variables whose type is declared to be a concr 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. catch block parameters of concrete exception type will also not be reported by this inspection. +

    Use the checkbox below to have this inspection ignore local variables whose type is an abstract class.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/LogStatementGuardedByLogCondition.html b/plugins/InspectionGadgets/src/inspectionDescriptions/LogStatementGuardedByLogCondition.html index f9abf835687b..b84fa12c884e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/LogStatementGuardedByLogCondition.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/LogStatementGuardedByLogCondition.html @@ -7,6 +7,7 @@ Surrounding a log statement with a guard clause prevents that cost when the logg is disabled for the level used by the logging statement. This is especially for the least serious level (trace, debug, finest) of logging statements, because those are most often disabled in a production environment. +

    Use the text field below to specify the logger class name used. Use the table to specify the log methods this inspection should warn on, with the corresponding diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/LoggingConditionDisagreesWithLogStatement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/LoggingConditionDisagreesWithLogStatement.html index 18e04f146d4c..fe999cc586ff 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/LoggingConditionDisagreesWithLogStatement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/LoggingConditionDisagreesWithLogStatement.html @@ -9,6 +9,7 @@ For example: logger.debug("some log message"); }

    +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/LongLiteralsEndingWithLowercaseL.html b/plugins/InspectionGadgets/src/inspectionDescriptions/LongLiteralsEndingWithLowercaseL.html index 5a183269f98c..03f5a50b36da 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/LongLiteralsEndingWithLowercaseL.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/LongLiteralsEndingWithLowercaseL.html @@ -2,6 +2,7 @@ This inspection reports long literals ending with lowercase 'l'. These literals may be confusing, as lowercase 'l' looks very similar to '1'. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/LoopConditionNotUpdatedInsideLoop.html b/plugins/InspectionGadgets/src/inspectionDescriptions/LoopConditionNotUpdatedInsideLoop.html index 6a74555be54c..d248b6442e6e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/LoopConditionNotUpdatedInsideLoop.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/LoopConditionNotUpdatedInsideLoop.html @@ -3,6 +3,7 @@ This inspection reports any variables and parameters which are used in a loop condition and are not updated inside the loop. These may cause an infinite loop if executed and are probably not what was intended. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/LoopStatementsThatDontLoop.html b/plugins/InspectionGadgets/src/inspectionDescriptions/LoopStatementsThatDontLoop.html index b27b1f5527dc..9178d380a4f4 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/LoopStatementsThatDontLoop.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/LoopStatementsThatDontLoop.html @@ -3,6 +3,7 @@ This inspection reports any instance of for, while and do statements whose bodies are guaranteed to execute at most once. Normally, this is an indication of a bug. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/LoopWithImplicitTerminationCondition.html b/plugins/InspectionGadgets/src/inspectionDescriptions/LoopWithImplicitTerminationCondition.html index 16a63d94b4b0..bb44c4041fa5 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/LoopWithImplicitTerminationCondition.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/LoopWithImplicitTerminationCondition.html @@ -10,6 +10,7 @@ in a while or for loops and the last or only statement in a do-while loop. Such a loop would be clearer if the if statement was removed and its condition was made an explicit loop condition. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MagicCharacter.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MagicCharacter.html index e837d725f844..11efc4a39ebb 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MagicCharacter.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MagicCharacter.html @@ -4,6 +4,7 @@ This inspection reports "magic characters", character constants used without dec "Magic character" can result in code whose intention is extremely unclear, and may result in errors if a "magic character" is changed in one code location but not another. Such use can complicate internationalization efforts. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MagicNumber.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MagicNumber.html index 38e1d5b28aff..e34b4d709f5a 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MagicNumber.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MagicNumber.html @@ -4,6 +4,7 @@ This inspection reports "magic numbers", literal numeric constants used without "Magic numbers" can result in code whose intention is extremely unclear, and may result in errors if a "magic number" is changed in one code location but not another. The numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 100, 1000, 0L, 1L, 2L, 0.0, 1.0, 0.0F and 1.0F are not reported by this inspection. +

    Use the first checkbox below to disable this inspection within hashCode() methods.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MalformedFormatString.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MalformedFormatString.html index 76438f737a41..7e405dd4b0b8 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MalformedFormatString.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MalformedFormatString.html @@ -7,6 +7,7 @@ are reported if they are compile-time constants used as arguments to appropriate java.io.PrintWriter, or java.io.PrintStream and do not fit the standard Java format string syntax. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MalformedRegex.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MalformedRegex.html index 575c040362ce..53d749afbd1b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MalformedRegex.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MalformedRegex.html @@ -4,6 +4,7 @@ This inspection reports malformed regular expressions. Regular expressions are reported if they are compile-time constants used as arguments to appropriate methods on java.util.regex.Pattern or java.lang.String and do not fit the standard Java regular expression syntax. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MalformedXPath.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MalformedXPath.html index 0d8ce5e49fbe..90679a411456 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MalformedXPath.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MalformedXPath.html @@ -3,6 +3,7 @@ This inspection reports malformed XPath expressions. XPath expressions are reported if they are compile-time constants used as arguments to appropriate methods on javax.xml.xpath.XPath and do not fit the standard XPath syntax. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ManualArrayCopy.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ManualArrayCopy.html index 59c83e039248..bf5f36766d59 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ManualArrayCopy.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ManualArrayCopy.html @@ -2,6 +2,7 @@ This inspection reports the manual copying of array contents which may be replaced by calls to System.arraycopy(). +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ManualArrayToCollectionCopy.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ManualArrayToCollectionCopy.html index 3b80053388ba..a50cf510befe 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ManualArrayToCollectionCopy.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ManualArrayToCollectionCopy.html @@ -2,8 +2,7 @@ This inspection reports the copying of array contents to a collection where each element is added individually using a for loop. Such constructs may be replaced by a call to Collection.addAll(Arrays.asList()) or Collections.addAll(). -
    -This inspection provides a quick fix. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MapReplaceableByEnumMap.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MapReplaceableByEnumMap.html index 4d775152e101..fa1bf7feb649 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MapReplaceableByEnumMap.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MapReplaceableByEnumMap.html @@ -5,6 +5,7 @@ whose key types are enumerated classes. Such java.util.Map objects can be replaced by java.util.EnumMap objects. java.util.EnumMap implementations can be much more efficient that those of other sets, as the underlying data structure is a simple array. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MarkerInterface.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MarkerInterface.html index 2f2c1cb33071..502650107988 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MarkerInterface.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MarkerInterface.html @@ -4,6 +4,7 @@ This inspection reports "marker" interfaces which have no methods or fields. Such interfaces may be confusing, and normally indicate a design failure. Interfaces which extend two or more other interfaces will not be reported by this inspection. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MathRandomCastToInt.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MathRandomCastToInt.html index 5b4fb172da90..8bbde8ebf4d0 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MathRandomCastToInt.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MathRandomCastToInt.html @@ -7,6 +7,7 @@ should first be multiplied with some factor before casting it to an int t get a value between zero (inclusive) and the multiplication factor (exclusive). Another possible solution would be to use the nextInt() method of java.util.Random. +

    New in 10.5, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodCallInLoopCondition.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodCallInLoopCondition.html index 25f9de0c6c45..507ee816f773 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodCallInLoopCondition.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodCallInLoopCondition.html @@ -6,6 +6,7 @@ Applying the results of this inspection without consideration might have negativ This inspection reports method calls in the condition part of a loop statement. In highly resource constrained environments, such calls may have adverse performance implications +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodCanBeVariableArityMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodCanBeVariableArityMethod.html index ac5e248ddcc6..7d5121276359 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodCanBeVariableArityMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodCanBeVariableArityMethod.html @@ -5,6 +5,7 @@ arity/varargs method, available in Java 5 and newer.

    This inspection only reports if the project or module is configured to use a language level of 5.0 or higher. +

    New in 10.5, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodCount.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodCount.html index 568d6cd5eda0..c52881208c79 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodCount.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodCount.html @@ -3,6 +3,7 @@ This inspection reports any classes with too many methods. Classes with a large number of methods are often trying to 'do too much', and may need to be refactored into multiple smaller classes. +

    Use the field provided below to specify the maximum acceptable number of methods a class might have. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodCoupling.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodCoupling.html index 16ac3d180f33..9439750e7e23 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodCoupling.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodCoupling.html @@ -4,6 +4,7 @@ This inspection reports methods which are highly coupled, i.e. that reference to Methods with too high a coupling can be very fragile, and should probably be broken up. References to system classes (those in the java.or javax. packages), are not counted for purposes of this inspection. +

    Use the field provided below to specify the maximum acceptable coupling a method might have.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodMayBeStatic.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodMayBeStatic.html index 8d7cb26cf370..4b3a229ce8f6 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodMayBeStatic.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodMayBeStatic.html @@ -3,6 +3,7 @@ This inspection reports any methods which may safely be made static. A method may be static if it is not synchronized, it does not reference any of its class' non static methods and non static fields and is not overridden in a sub class. +

    Use the checkboxes below to inspect only private or final methods, which increases the diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodMayBeSynchronized.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodMayBeSynchronized.html index 64a8d1a820d1..2f3f55619508 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodMayBeSynchronized.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodMayBeSynchronized.html @@ -7,6 +7,7 @@ equal to this for instance methods or ClassName.class for static methods. In such cases the synchronized statements may be replaced by their contents and the containing method marked synchronized. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodNameSameAsClassName.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodNameSameAsClassName.html index 6605a791566b..8119a68fb912 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodNameSameAsClassName.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodNameSameAsClassName.html @@ -2,6 +2,7 @@ This inspection reports methods being named identically to their class. A method with such a name may be easily mistaken for a constructor. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodNameSameAsParentName.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodNameSameAsParentName.html index 075633dc67ea..144dd6cf6d17 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodNameSameAsParentName.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodNameSameAsParentName.html @@ -2,6 +2,7 @@ This inspection reports methods being named identically to the superclass of the method's class. Such a method name may be confusing. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodNamesDifferOnlyByCase.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodNamesDifferOnlyByCase.html index 95e051ac217e..11f96f81881d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodNamesDifferOnlyByCase.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodNamesDifferOnlyByCase.html @@ -2,6 +2,7 @@ This inspection reports on cases where multiple methods of a class have names which differ only by case. Such method names may be very confusing. +

    Use the checkbox below to have this inspection ignore methods which are overrides or implementations of super methods.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodOnlyUsedFromInnerClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodOnlyUsedFromInnerClass.html index dc2b788d47cc..822b4df2a0ca 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodOnlyUsedFromInnerClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodOnlyUsedFromInnerClass.html @@ -3,6 +3,7 @@ This inspection reports private methods, which are only called from an inner class of the class containing the method. Such methods could be safely moved into that inner class. +

    Use the first checkbox below to ignore private methods which are called from an anonymous class. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodOverloadsParentMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodOverloadsParentMethod.html index 93f41f5de9bd..1255e5350a76 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodOverloadsParentMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodOverloadsParentMethod.html @@ -3,6 +3,7 @@ This inspection reports instance methods having the same name and different but compatible arguments as a method in a superclass. In this case, the child method overloads the parent method, instead of overriding it. While that may be intended, if unintended it may result in latent bugs. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodOverridesPackageLocalMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodOverridesPackageLocalMethod.html index 3ef86e4d2b8c..edbbac90129b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodOverridesPackageLocalMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodOverridesPackageLocalMethod.html @@ -5,6 +5,7 @@ local method of a superclass in other package. Such methods may result in confusing semantics, particularly if the package local method is ever made publicly visible. A package local method can only properly be overridden if the subclass resides in the same package. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodOverridesPrivateMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodOverridesPrivateMethod.html index 74a2b30015c9..02662dd63573 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodOverridesPrivateMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodOverridesPrivateMethod.html @@ -4,6 +4,7 @@ This inspection reports instance methods having the same name as a private method of a superclass. Such methods may result in confusing semantics, particularly if the private method is ever made publicly visible. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodOverridesStaticMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodOverridesStaticMethod.html index cf26b0b3909f..0472bd14c108 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodOverridesStaticMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodOverridesStaticMethod.html @@ -2,6 +2,7 @@ This inspection reports methods having the same name as a static method of a superclass. Such methods may result in confusing semantics. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodReturnAlwaysConstant.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodReturnAlwaysConstant.html index 9b48555a344d..f6898339fa6c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodReturnAlwaysConstant.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodReturnAlwaysConstant.html @@ -2,6 +2,7 @@ This global inspection reports methods which only ever return a constant. Since this inspection requires global code analysis, it is only available in batch inspection mode. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodReturnOfConcreteClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodReturnOfConcreteClass.html index b3d7b389cc11..000b6713b12d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodReturnOfConcreteClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodReturnOfConcreteClass.html @@ -3,6 +3,7 @@ This inspection reports any methods whose return type is declared to be 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. +

    Use the checkbox below to have this inspection ignore methods whose return type is an abstract class.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodWithMultipleLoops.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodWithMultipleLoops.html index 2a9aebf3aef0..c1430cc2ba00 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodWithMultipleLoops.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodWithMultipleLoops.html @@ -1,6 +1,7 @@ This inspection reports methods containing multiple loop statements. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MismatchedArrayReadWrite.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MismatchedArrayReadWrite.html index f2f680dbae26..0ef4e1afd447 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MismatchedArrayReadWrite.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MismatchedArrayReadWrite.html @@ -3,6 +3,7 @@ This inspection reports any array fields or variables whose contents are read but not written, or written but not read. Such mismatched reads and writes are pointless, and probably indicate dead, incomplete or erroneous code. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MismatchedCollectionQueryUpdate.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MismatchedCollectionQueryUpdate.html index 8daa1ad563a4..67e050c1633f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MismatchedCollectionQueryUpdate.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MismatchedCollectionQueryUpdate.html @@ -3,6 +3,7 @@ This inspection reports collection fields or variables whose contents are either queried and not updated, or updated and not queried. Such mismatched queries and updates are pointless, and may indicate either dead code or a typographical error. +

    Use the tables below to specify which methods are update and/or query methods. The names are matched with the beginning of the method name. Query methods which return their result are automatically detected, only diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MismatchedStringBuilderQueryUpdate.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MismatchedStringBuilderQueryUpdate.html index e90bc982f551..c98107de05a4 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MismatchedStringBuilderQueryUpdate.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MismatchedStringBuilderQueryUpdate.html @@ -3,6 +3,7 @@ This inspection reports any StringBuilder or StringBuffer fields or variables whose contents are read but not written, or written but not read. Such mismatched reads and writes are pointless, and probably indicate dead, incomplete or erroneous code. +

    New in 10.5, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MisorderedAssertEqualsParameters.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MisorderedAssertEqualsParameters.html index c1acdf73f5cf..f4bd985ff056 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MisorderedAssertEqualsParameters.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MisorderedAssertEqualsParameters.html @@ -4,6 +4,7 @@ This inspection reports any calls to JUnit assertEquals() which have a non-literal as the expected result argument and a literal as the actual result argument. Such calls will behave fine for assertions which pass, but may give confusing error reports if their expected and actual arguments differ. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MissingDeprecatedAnnotation.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MissingDeprecatedAnnotation.html index 9e0b583cb87b..5730c13fb0ce 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MissingDeprecatedAnnotation.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MissingDeprecatedAnnotation.html @@ -5,6 +5,7 @@ javadoc tag but do not have the @java.lang.Deprecated annotation.

    This inspection only reports if the project or module is configured to use a language level of 5.0 or higher. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MissingOverrideAnnotation.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MissingOverrideAnnotation.html index a534a8f62577..1891aa2645e2 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MissingOverrideAnnotation.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MissingOverrideAnnotation.html @@ -5,6 +5,7 @@ do not have the @java.lang.Override annotation.

    This inspection only reports if the project or module is configured to use a language level of 5.0 or higher. +

    Use the first checkbox below to have this inspection ignore the java.lang.Object methods diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MissortedModifiers.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MissortedModifiers.html index 13bd7e59978b..0ea060905fea 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MissortedModifiers.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MissortedModifiers.html @@ -1,7 +1,8 @@ This inspection reports on declarations whose modifiers are not in the canonical -preferred order (as stated in the Java Language Specification). +preferred order (as stated in the Java Language Specification). +

    Use the checkbox below to specify that annotations should always be sorted before keyword modifiers.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledCompareTo.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledCompareTo.html index d88cc3224c5b..c5a235792dc1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledCompareTo.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledCompareTo.html @@ -2,6 +2,7 @@ This inspection reports any declaration of a compareto() method, taking one argument. Normally, this is a typo of compareTo(). +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledEquals.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledEquals.html index cf230d8d11e7..bbaa9160615f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledEquals.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledEquals.html @@ -2,6 +2,7 @@ This inspection reports any declaration of a equal() method, taking one argument. Normally, this is a typo of equals(). +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledHashcode.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledHashcode.html index b719ca857d86..4bdcbd1f7ea1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledHashcode.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledHashcode.html @@ -2,6 +2,7 @@ This inspection reports any declaration of a hashcode() method, taking no arguments. Normally, this is a typo of hashCode(). +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledSetUp.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledSetUp.html index eec4450cca33..37c416323fdb 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledSetUp.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledSetUp.html @@ -2,6 +2,7 @@ This inspection reports a setup() method on a JUnit test case. This is normally a misspelling of setUp(), and is entirely too easy to make. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledTearDown.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledTearDown.html index 637e470879ed..161722056d7f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledTearDown.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledTearDown.html @@ -2,6 +2,7 @@ This inspection reports a teardown() method on a JUnit test case. This is normally a misspelling of tearDown(), and is entirely too easy to make. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledToString.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledToString.html index 8f61a93ab119..2c46b7f7b895 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledToString.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MisspelledToString.html @@ -2,6 +2,7 @@ This inspection reports any declaration of a tostring() method, taking one argument. Normally, this is a typo of toString(). +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ModuleWithTooFewClasses.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ModuleWithTooFewClasses.html index 7c2cbf2b0270..38dbc50a9962 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ModuleWithTooFewClasses.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ModuleWithTooFewClasses.html @@ -3,6 +3,7 @@ This global inspection reports any modules which contain too few classes. Overly small modules may indicate an overly fragmented design. Since this inspection requires global code analysis, it is only available in batch inspection mode. +

    Use the field below to specify the minimum number of classes a module may have before triggering this inspection.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ModuleWithTooManyClasses.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ModuleWithTooManyClasses.html index e68789183866..d167a24a4af2 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ModuleWithTooManyClasses.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ModuleWithTooManyClasses.html @@ -3,6 +3,7 @@ This global inspection reports any modules which contain too many classes. Overly large modules may indicate a lack of design clarity. Since this inspection requires global code analysis, it is only available in batch inspection mode. +

    Use the field below to specify the maximum number of classes a module may have before triggering this inspection.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleDeclaration.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleDeclaration.html index 87b0025e061f..cc22f75aab14 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleDeclaration.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleDeclaration.html @@ -2,6 +2,7 @@ This inspection reports multiple variables being declared in a single declaration. Some coding standards prohibit such declarations. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleExceptionsDeclaredOnTestMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleExceptionsDeclaredOnTestMethod.html index e324836abad2..29ca3c323c40 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleExceptionsDeclaredOnTestMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleExceptionsDeclaredOnTestMethod.html @@ -4,6 +4,7 @@ This inspection reports JUnit test methods with more than one exception declared throws clause. Such a throws clause can be more concisely declared as:

    throws Exception
    +

    New in 9, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleReturnPointsPerMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleReturnPointsPerMethod.html index fefef7e24a1d..e5d737a8cfc3 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleReturnPointsPerMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleReturnPointsPerMethod.html @@ -2,6 +2,7 @@ This inspection reports methods with too many return points. Methods with too many return points may be confusing, and hard to refactor. +

    Use the field provided below to specify the maximum acceptable number of return points a method might have. Use the check boxes below to specify if guard clause and/or return points inside diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleTopLevelClassesInFile.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleTopLevelClassesInFile.html index 24bd9dd39b3a..880679780650 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleTopLevelClassesInFile.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleTopLevelClassesInFile.html @@ -3,6 +3,7 @@ This inspection reports multiple top-level classes in a single java file. Putting multiple top-level classes in a file can be confusing, and may degrade the usefulness of various software tools. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleTypedDeclaration.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleTypedDeclaration.html index 935eea775c81..3355b41b9ca5 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleTypedDeclaration.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleTypedDeclaration.html @@ -4,6 +4,7 @@ This inspection reports multiple different types of variables being declared in used can only differ in array dimension. Such declarations may be confusing.

    For example the following will be reported by this inspection:

    String s = "", array[];
    +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MultiplyOrDivideByPowerOfTwo.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MultiplyOrDivideByPowerOfTwo.html index 3ccd8542d682..42309d6ca58e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MultiplyOrDivideByPowerOfTwo.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MultiplyOrDivideByPowerOfTwo.html @@ -2,6 +2,7 @@ This inspection reports multiplication of an integer value by a constant power of 2. These expressions may be replaced by right or left shift operations, to some possible performance improvement. +

    Use the check box below to enable the inspection for divisions by a power of two also. Note that replacing a power of two division by a shift does not work for negative numbers. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NakedNotify.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NakedNotify.html index d32e38623b86..6412ddbcaa62 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NakedNotify.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NakedNotify.html @@ -7,6 +7,7 @@ used to inform other threads that a state change has occurred. That state change context that contains the .notify() or .notifyAll() call, and prior to the call. While not having such a state change isn't necessarily incorrect, it is certainly worth examining. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NativeMethods.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NativeMethods.html index 67ac495b9525..7d173f513c28 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NativeMethods.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NativeMethods.html @@ -1,6 +1,7 @@ This inspection reports the methods declared native. Native methods are inherently unportable. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NegatedConditional.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NegatedConditional.html index b8d4f9cb6fd7..c00a47126c92 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NegatedConditional.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NegatedConditional.html @@ -2,6 +2,7 @@ This inspection reports conditional expressions whose conditions are negated. Flipping the order of the conditional expression branches will usually increase the clarity of such statements. +

    Use the check box below to have comparisons of the form != null ignored by this inspection diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NegatedIfElse.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NegatedIfElse.html index 764f36aa00fa..8364eb9bda57 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NegatedIfElse.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NegatedIfElse.html @@ -4,6 +4,7 @@ This inspection reports if statements which contain else branches and whose conditions are negated. Flipping the order of the if and else branches will usually increase the clarity of such statements. +

    Use the check box below to have comparisons of the form != null ignored by this inspection diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NestedAssignment.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NestedAssignment.html index dcae2c2bf2a8..6ff8df95f60d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NestedAssignment.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NestedAssignment.html @@ -2,6 +2,7 @@ This inspection reports assignment expressions nested inside other expressions. While admirably terse, such expressions may be confusing, and violate the general design principle that a given construct should do precisely one thing. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NestedConditionalExpression.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NestedConditionalExpression.html index 804dad80192c..49dbe6aa0799 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NestedConditionalExpression.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NestedConditionalExpression.html @@ -2,6 +2,7 @@ This inspection reports nested conditional expressions. Nested conditional expressions may result in extremely confusing code. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NestedMethodCall.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NestedMethodCall.html index d54b7623240b..81842f0dbb26 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NestedMethodCall.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NestedMethodCall.html @@ -2,6 +2,7 @@ This inspection reports method calls used as parameters of another method call. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NestedSwitchStatement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NestedSwitchStatement.html index fc2388854aed..e7583b097a5a 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NestedSwitchStatement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NestedSwitchStatement.html @@ -2,6 +2,7 @@ This inspection reports nested switch statements. Nested switch statements may result in extremely confusing code. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NestedSynchronizedStatement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NestedSynchronizedStatement.html index 0df4a37f7bea..0955cf8f1508 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NestedSynchronizedStatement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NestedSynchronizedStatement.html @@ -2,6 +2,7 @@ This inspection reports nested synchronized statements. Nested synchronized statements are either useless (if the lock objects are identical) or prone to deadlock. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NestedTryStatement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NestedTryStatement.html index 47c2e738b19d..b204916f4ae6 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NestedTryStatement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NestedTryStatement.html @@ -3,6 +3,7 @@ This inspection reports nested try statements. Nested try statements may result in confusing code, and should probably have their catch and finally sections merged. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NestingDepth.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NestingDepth.html index 82d3559a38a6..46d649dd82e2 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NestingDepth.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NestingDepth.html @@ -2,6 +2,7 @@ This inspection reports methods whose bodies are too deeply nested. Methods with too much statement nesting may be confusing, and are a good sign that refactoring may be necessary. +

    Use the field provided below to specify the maximum acceptable nesting depth a method might have.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NewExceptionWithoutArguments.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NewExceptionWithoutArguments.html index 5ce387634751..6f6c9063aeb6 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NewExceptionWithoutArguments.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NewExceptionWithoutArguments.html @@ -2,6 +2,7 @@ This inspection reports exception instance creation without any arguments specified. When an exception is constructed without arguments it contains no information about the fault that happened, which makes debugging needlessly hard. +

    Use the checkbox below to ignore instance creation of exception classes which have no constructors that take arguments.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NewStringBufferWithCharArgument.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NewStringBufferWithCharArgument.html index 53c4a88457a0..e364986736f5 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NewStringBufferWithCharArgument.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NewStringBufferWithCharArgument.html @@ -5,6 +5,7 @@ and new StringBuilder() calls with an argument with type char. Such an argument is silently casted to an integer used to specify the length of the buffer. Usually this is not what was intended. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NoExplicitFinalizeCalls.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NoExplicitFinalizeCalls.html index 59be7f77d79e..18b2fa748ec1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NoExplicitFinalizeCalls.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NoExplicitFinalizeCalls.html @@ -4,6 +4,7 @@ This inspection reports any call of Object.finalize(). Calling Object.finalize() explicitly is a very bad idea, as it can result in objects being placed in an inconsistent state. Calls to super.finalize() from within implementations of finalize() are benign, and are not reported by this inspection. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NonAtomicOperationOnVolatileField.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NonAtomicOperationOnVolatileField.html index cd68d3a09f3d..198a2d974e7b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NonAtomicOperationOnVolatileField.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NonAtomicOperationOnVolatileField.html @@ -8,6 +8,7 @@ In such cases it is better to surround the operation with a synchronized block o make use of one of the Atomic* or Atomic*FieldUpdater classes from the java.util.concurrent.atomic package. +

    New in 10, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NonBooleanMethodNameMayNotStartWithQuestion.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NonBooleanMethodNameMayNotStartWithQuestion.html index 55cb3aa12a09..42712d025d64 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NonBooleanMethodNameMayNotStartWithQuestion.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NonBooleanMethodNameMayNotStartWithQuestion.html @@ -2,6 +2,7 @@ This inspection reports non-boolean methods whose names start with a question word. Non-boolean methods that override library methods are ignored by this inspection. +

    Use the list below to specify question words which should only be used for boolean methods.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NonCommentSourceStatements.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NonCommentSourceStatements.html index d4241607b231..47ed454dddfd 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NonCommentSourceStatements.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NonCommentSourceStatements.html @@ -2,6 +2,7 @@ This inspection reports methods that are too long. Methods that are too long may be confusing, and are a good sign that refactoring is necessary. +

    Use the field provided below to specify the maximum acceptable number of non-comment source statements a method might have.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NonExceptionNameEndsWithException.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NonExceptionNameEndsWithException.html index 013adfa8ed6c..794818f9048b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NonExceptionNameEndsWithException.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NonExceptionNameEndsWithException.html @@ -1,6 +1,7 @@ This inspection reports non-exception classes whose names end with 'Exception'. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NonFinalClone.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NonFinalClone.html index 4fde46f67bd6..d13200d274a3 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NonFinalClone.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NonFinalClone.html @@ -6,6 +6,7 @@ be used to instantiate objects without using a constructor, allowing the clon method to be overridden may result in corrupted objects, and possible security exploits. This may be prevented by making the clone() method final. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NonFinalFieldInEnum.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NonFinalFieldInEnum.html index b8d4d271100f..2109963341b4 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NonFinalFieldInEnum.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NonFinalFieldInEnum.html @@ -1,6 +1,7 @@ This inspection reports non-final fields in enumeration types. A non-final field in an enum is rarely needed. +

    New in 12, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NonFinalFieldOfException.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NonFinalFieldOfException.html index 86ab9084fc35..e630033ad2d6 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NonFinalFieldOfException.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NonFinalFieldOfException.html @@ -5,6 +5,7 @@ This inspection reports any fields on subclasses of final. Data on exception objects should not be modified, as it may result in loss of error context for later debugging and logging. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NonFinalStaticVariableUsedInClassInitialization.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NonFinalStaticVariableUsedInClassInitialization.html index 75b2fc541781..1b2ea0295c27 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NonFinalStaticVariableUsedInClassInitialization.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NonFinalStaticVariableUsedInClassInitialization.html @@ -4,6 +4,7 @@ This inspection reports any uses of non-final static variables dur of a class. Such uses may make the semantics of the code dependent on order of class creation, may cause variables to be used before initialized, and generally cause extremely difficult and confusing bugs. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NonProtectedConstructorInAbstractClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NonProtectedConstructorInAbstractClass.html index df500267c288..e501499d1be0 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NonProtectedConstructorInAbstractClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NonProtectedConstructorInAbstractClass.html @@ -3,6 +3,7 @@ This inspection reports constructors in abstract classes that are not declared protected, package-protected or private. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NonReproducibleMathCall.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NonReproducibleMathCall.html index 67636f8870cb..7ee60dbd844e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NonReproducibleMathCall.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NonReproducibleMathCall.html @@ -4,6 +4,7 @@ This inspection reports any calls to java.lang.Math methods whose results are not guaranteed to be precisely reproducible. In environments where reproducibility of results are needed, java.lang.StrictMath should be used instead. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NonSerializableObjectBoundToHttpSession.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NonSerializableObjectBoundToHttpSession.html index a902a6d9c501..34e5cbfa2d8c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NonSerializableObjectBoundToHttpSession.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NonSerializableObjectBoundToHttpSession.html @@ -7,6 +7,7 @@ Such objects will not be serialized if the HttpSession is passivated or migrated bugs. For purposes of this inspection, objects with java.util.Collection or java.util.Map types are assumed to be Serializable, unless the types they are declared to contain are non-Serializable. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NonSerializableObjectPassedToObjectStream.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NonSerializableObjectPassedToObjectStream.html index 7e59c1419507..e95295bdb446 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NonSerializableObjectPassedToObjectStream.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NonSerializableObjectPassedToObjectStream.html @@ -5,6 +5,7 @@ This inspection reports non-Serializable objects used as arguments to For purposes of this inspection, objects with java.util.Collection or java.util.Map types are assumed to be Serializable, unless the types they are declared to contain are non-Serializable. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NonSerializableWithSerialVersionUIDField.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NonSerializableWithSerialVersionUIDField.html index b34663e94e47..91a7b98befab 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NonSerializableWithSerialVersionUIDField.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NonSerializableWithSerialVersionUIDField.html @@ -2,6 +2,7 @@ This inspection reports non-Serializable classes which define a serialVersionUID field. This is usually an indication of a programmer error. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NonSerializableWithSerializationMethods.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NonSerializableWithSerializationMethods.html index e0f0f0e94618..169e52e90e02 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NonSerializableWithSerializationMethods.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NonSerializableWithSerializationMethods.html @@ -2,6 +2,7 @@ This inspection reports non-Serializable classes which define readObject() or writeObject() methods. Such methods normally indicate programmer error. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NonShortCircuitBoolean.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NonShortCircuitBoolean.html index dc848e5181b3..f1ef6ab78679 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NonShortCircuitBoolean.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NonShortCircuitBoolean.html @@ -4,6 +4,7 @@ This inspection reports on any uses of the non-short-circuit forms of boolean 'a and | ). The non-short-circuit versions are occasionally useful, but their presence is often due to typos of the short-circuit forms ( && and || ), and may lead to subtle bugs. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NonStaticInnerClassInSecureContext.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NonStaticInnerClassInSecureContext.html index 7f8896e69f2a..1c202078343c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NonStaticInnerClassInSecureContext.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NonStaticInnerClassInSecureContext.html @@ -3,6 +3,7 @@ This inspection reports non-static inner classes. Compilation of such classes causes the creation of hidden, package-visible methods on the parent class, which may compromise security. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NonSynchronizedMethodOverridesSynchronizedMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NonSynchronizedMethodOverridesSynchronizedMethod.html index 981adf3b131f..cf6fe2447dea 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NonSynchronizedMethodOverridesSynchronizedMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NonSynchronizedMethodOverridesSynchronizedMethod.html @@ -2,6 +2,7 @@ This inspection reports non-synchronized methods overriding synchronized methods. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NonThreadSafeLazyInitialization.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NonThreadSafeLazyInitialization.html index 13e31fffd259..9ff1045d920b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NonThreadSafeLazyInitialization.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NonThreadSafeLazyInitialization.html @@ -3,13 +3,15 @@ This inspection reports static variables being lazily initialized in an non-thread-safe manner. Lazy initialization of static variables should be done in an appropriate synchronization construct, to prevent different threads from -performing conflicting initialization.
    +performing conflicting initialization. +

    If applicable, quick-fix is suggested which introduces static holder pattern described in http://en.wikipedia.org/wiki/Initialization_on_demand_holder_idiom where the JVM guarantees thread-safety of such initializations. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NoopMethodInAbstractClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NoopMethodInAbstractClass.html index b677173d728e..a4c3718a0be7 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NoopMethodInAbstractClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NoopMethodInAbstractClass.html @@ -3,6 +3,7 @@ This inspection reports "no-op" methods in abstract classes. It is usually a better design to make such methods abstract themselves, so that classes which inherit the methods will not forget to provide their own implementations. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NotifyCalledOnCondition.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NotifyCalledOnCondition.html index 205f716d1216..41d79745f59e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NotifyCalledOnCondition.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NotifyCalledOnCondition.html @@ -5,6 +5,7 @@ or notifyAll() on an object of class java.util.concurrent.locks.Condition(). It is almost certain that signal() or signalAll() was intended instead. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NotifyNotInSynchronizedContext.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NotifyNotInSynchronizedContext.html index a164161b5305..9b2e6babddd0 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NotifyNotInSynchronizedContext.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NotifyNotInSynchronizedContext.html @@ -5,6 +5,7 @@ statement or synchronized method. Calling notify() on an object without holding a lock on that object will result in an IllegalMonitorStateException being thrown. Such a construct is not necessarily an error, as the necessary lock may be acquired before the containing method is called, but it's worth looking at. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NotifyWithoutCorrespondingWait.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NotifyWithoutCorrespondingWait.html index 5db2cd4943dc..526344b46649 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NotifyWithoutCorrespondingWait.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NotifyWithoutCorrespondingWait.html @@ -4,6 +4,7 @@ This inspection reports on any call to Object.notify() or Object.notifyAll() for which no call to a corresponding Object.wait() can be found. Only calls which target fields of the current class are reported by this inspection. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NullArgumentToVariableArgMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NullArgumentToVariableArgMethod.html index 3888e7dd31ba..97815383abba 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NullArgumentToVariableArgMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NullArgumentToVariableArgMethod.html @@ -4,6 +4,7 @@ This inspection reports any calls to a variable-argument method which has a n in the variable-argument position (e.g System.out.printf("%s", null) ). Such a null argument may be confusing, as it is not wrapped as a single-element array, as may be expected. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NullThrown.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NullThrown.html index ccef3a9d8fa5..e57019e627e5 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NullThrown.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NullThrown.html @@ -1,6 +1,7 @@ This inspection reports any null literals which are used as the argument for a throw statement. +

    New in 11, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NumberEquality.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NumberEquality.html index ef87f70b25e2..7029b1ebe814 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NumberEquality.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NumberEquality.html @@ -4,6 +4,7 @@ This inspection reports any use of == to test for Number equality, rather than the ".equals()" method. With auto-boxing it is easy to make the mistake of comparing two Integer (or other subclass of java.lang.Number) objects instead of two ints. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NumericToString.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NumericToString.html index b4aa34e36124..0733e2ef39a1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NumericToString.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NumericToString.html @@ -2,6 +2,7 @@ This inspection reports any call of toString() on numeric objects. Such calls are usually incorrect in an internationalized environment. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ObjectAllocationInLoop.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ObjectAllocationInLoop.html index 574544d52d1f..863013a939a5 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ObjectAllocationInLoop.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ObjectAllocationInLoop.html @@ -3,6 +3,7 @@ This inspection reports object or array allocation inside loops. While not necessarily a problem, object allocation inside loop is a great place to look for memory leaks and performance issues. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ObjectEquality.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ObjectEquality.html index d73ab2bbd2cd..21f9c35cb28a 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ObjectEquality.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ObjectEquality.html @@ -5,6 +5,7 @@ to test for Object equality, rather than the ".equals()" method. Note that comparison of Strings or Numbers using == is not reported by this inspection, nor is the comparison of an object to null using ==, or the comparison of two array objects. +

    Use the checkboxes below to indicate whether uses of == between objects of an enumerated type, class type or types with private constructors should be reported by this inspection. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ObjectEqualsNull.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ObjectEqualsNull.html index 166ad1fc87b2..bb919514e003 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ObjectEqualsNull.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ObjectEqualsNull.html @@ -2,6 +2,7 @@ This inspection reports on calls to .equals() which have null as an argument. The semantics of such calls are almost certainly not what was intended. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ObjectNotify.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ObjectNotify.html index c92c22a3d8ef..544e85d4ebf9 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ObjectNotify.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ObjectNotify.html @@ -2,6 +2,7 @@ This inspection reports any calls to notify(). While occasionally useful, in almost all cases notifyAll() is a better choice. See Doug Lea's Concurrent Programming in Java for a discussion. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ObjectToString.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ObjectToString.html index e4231b1e38ac..c10c3078af40 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ObjectToString.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ObjectToString.html @@ -5,6 +5,7 @@ which use the default implementation from java.lang.Object. The default implementation is rarely desired, but easy to use by accident. Calls to .toString() on objects of type java.lang.Object are ignored by this inspection. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ObsoleteCollection.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ObsoleteCollection.html index da339650dbfc..00eac3f50191 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ObsoleteCollection.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ObsoleteCollection.html @@ -4,6 +4,7 @@ This inspection reports any uses of java.util.Vector or java.util.Hashtable. While still supported, these classes were made obsolete by the JDK1.2 collection classes, and should probably not be used in new development. +

    Use the checkbox below to ignore any cases where the obsolete collections are used as an argument to a method or assigned to a variable that requires the obsolete type. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/OctalAndDecimalIntegersMixed.html b/plugins/InspectionGadgets/src/inspectionDescriptions/OctalAndDecimalIntegersMixed.html index 010ac28f1910..f0684b11303f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/OctalAndDecimalIntegersMixed.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/OctalAndDecimalIntegersMixed.html @@ -3,6 +3,7 @@ This inspection reports any use of both octal and decimal integers in an array initialization. This is often due to creating an array by copying a list of numbers into an array without noticing that some of them are zero-padded, and will thus be interpreted by the Java compiler as octal. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/OctalLiteral.html b/plugins/InspectionGadgets/src/inspectionDescriptions/OctalLiteral.html index dac98a54cb17..cea33e60be79 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/OctalLiteral.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/OctalLiteral.html @@ -2,6 +2,7 @@ This inspection reports octal integer literals. Some coding standards prohibit the use of octal literals, as they may be easily confused with decimal literals. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/OnDemandImport.html b/plugins/InspectionGadgets/src/inspectionDescriptions/OnDemandImport.html index 22d4c1d5bd36..074dbda8c4d2 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/OnDemandImport.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/OnDemandImport.html @@ -4,6 +4,7 @@ This inspection reports any import statements which cover entire packages Some coding standards prohibit such import statements. Since IDEA can automatically detect and fix such statements with its "Optimize Imports" command, this inspection is mostly useful for off-line reporting on code bases that you don't intend to change. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/OrredNotEqualExpression.html b/plugins/InspectionGadgets/src/inspectionDescriptions/OrredNotEqualExpression.html index 2d030e53e634..43811337b726 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/OrredNotEqualExpression.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/OrredNotEqualExpression.html @@ -4,6 +4,7 @@ This inspection highlights expressions where a reference is compared to a differ on either side of an or-expression. For example: x != a || x != b. Such expressions are always true, and a quickfix is available to change them to the correct x != a && x != b +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/OverloadedMethodsWithSameNumberOfParameters.html b/plugins/InspectionGadgets/src/inspectionDescriptions/OverloadedMethodsWithSameNumberOfParameters.html index d5fa4c36eb4b..919550ad55c7 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/OverloadedMethodsWithSameNumberOfParameters.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/OverloadedMethodsWithSameNumberOfParameters.html @@ -2,6 +2,7 @@ This inspection reports on cases where multiple methods of the same class are declared with the identical name and same number of parameters. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/OverloadedVarargsMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/OverloadedVarargsMethod.html index b9d77e2af6f8..5acc0cd3d663 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/OverloadedVarargsMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/OverloadedVarargsMethod.html @@ -3,6 +3,7 @@ This inspection reports vararg methods, when there are one or more other methods with the same name present in a class. Overloaded varargs methods can be very confusing, as it is often not clear which overloading gets called. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/OverlyComplexArithmeticExpression.html b/plugins/InspectionGadgets/src/inspectionDescriptions/OverlyComplexArithmeticExpression.html index 2a95224436a7..fff84f793dd2 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/OverlyComplexArithmeticExpression.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/OverlyComplexArithmeticExpression.html @@ -2,6 +2,7 @@ This inspection reports arithmetic expressions with too many terms. Such expressions may be confusing and bug-prone. +

    Use the field provided below to specify the maximum number of terms allowed in an arithmetic expression.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/OverlyComplexBooleanExpression.html b/plugins/InspectionGadgets/src/inspectionDescriptions/OverlyComplexBooleanExpression.html index 77728892aad3..da938e182400 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/OverlyComplexBooleanExpression.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/OverlyComplexBooleanExpression.html @@ -2,6 +2,7 @@ This inspection reports boolean expressions with too many terms. Such expressions may be confusing and bug-prone. +

    Use the field provided below to specify the maximum number of terms allowed in a boolean expression.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/OverlyLargePrimitiveArrayInitializer.html b/plugins/InspectionGadgets/src/inspectionDescriptions/OverlyLargePrimitiveArrayInitializer.html index ac68d935e70c..1a40375b569c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/OverlyLargePrimitiveArrayInitializer.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/OverlyLargePrimitiveArrayInitializer.html @@ -8,6 +8,7 @@ arrays which contain too many elements. Such initializers may result in overly l class files, as code must be generated to initialize each array element. In memory or bandwidth constrained environments, it may be more efficient to load large arrays of primitives from resource files. +

    Use the field below to specify the maximum number of elements to allow in primitive array initializers. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/OverlyStrongTypeCast.html b/plugins/InspectionGadgets/src/inspectionDescriptions/OverlyStrongTypeCast.html index e5851ac9e467..aae1069dc4cc 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/OverlyStrongTypeCast.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/OverlyStrongTypeCast.html @@ -5,6 +5,7 @@ casting an object to ArrayList when casting it to List would do just as well. Note: much like the Redundant type cast inspection, applying the fix for this inspection may change the semantics of your program, if you are intentionally using an overly strong cast to cause a ClassCastException to be generated. Use caution. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/OverridableMethodCallDuringObjectConstruction.html b/plugins/InspectionGadgets/src/inspectionDescriptions/OverridableMethodCallDuringObjectConstruction.html index 87eae0c1de43..aa7a4d30db6b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/OverridableMethodCallDuringObjectConstruction.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/OverridableMethodCallDuringObjectConstruction.html @@ -7,6 +7,7 @@ Methods are overridable if they are not declared final, static or private. Such calls may result in subtle bugs, as the object is not guaranteed to be initialized before the method call occurs. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/OverriddenMethodCallDuringObjectConstruction.html b/plugins/InspectionGadgets/src/inspectionDescriptions/OverriddenMethodCallDuringObjectConstruction.html index 2938e527c360..26636e4c6f19 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/OverriddenMethodCallDuringObjectConstruction.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/OverriddenMethodCallDuringObjectConstruction.html @@ -5,6 +5,7 @@ An object is constructed inside a constructor, an instance initializer or inside a clone(), readObject() or readObjectNoData() method. Such calls may result in subtle bugs, as the object is not guaranteed to be initialized before the method call occurs. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/PackageDotHtmlMayBePackageInfo.html b/plugins/InspectionGadgets/src/inspectionDescriptions/PackageDotHtmlMayBePackageInfo.html index 4f9309f2049c..a9cd6a95d22e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/PackageDotHtmlMayBePackageInfo.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/PackageDotHtmlMayBePackageInfo.html @@ -8,6 +8,7 @@ sole repository for package level annotations and documentation. This inspection provides a quickfix to convert the package.html file to a package-info.java file. If a package-info.java file is already present this inspection provides a quickfix to delete the package.html file, since the Javadoc tool would ignore it then anyway. +

    New in 10.0.3, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/PackageInMultipleModules.html b/plugins/InspectionGadgets/src/inspectionDescriptions/PackageInMultipleModules.html index dad9fe56431a..c0ebd48b5168 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/PackageInMultipleModules.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/PackageInMultipleModules.html @@ -2,6 +2,7 @@ This global inspection reports any packages which are present in multiple modules. Since this inspection requires global code analysis, it is only available in batch inspection mode. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/PackageNamingConvention.html b/plugins/InspectionGadgets/src/inspectionDescriptions/PackageNamingConvention.html index 221cacbb6427..9eddb8328048 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/PackageNamingConvention.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/PackageNamingConvention.html @@ -2,6 +2,7 @@ This global inspection reports packages whose names are either too short, too long, or do not follow the specified regular expression pattern. Since this inspection requires global code analysis, it is only available in batch inspection mode. +

    Use the fields provided below to specify minimum length, maximum length and regular expression expected for method parameter names (Regular expressions are in standard java.util.regex format). diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/PackageVisibleField.html b/plugins/InspectionGadgets/src/inspectionDescriptions/PackageVisibleField.html index f1ccbc51447c..9a42703d1ddb 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/PackageVisibleField.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/PackageVisibleField.html @@ -2,6 +2,7 @@ This inspection reports package-visible instance variables. Constants (i.e. variables marked static and final) are not reported. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/PackageVisibleInnerClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/PackageVisibleInnerClass.html index 0bc5745096f5..1eaa1ad27225 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/PackageVisibleInnerClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/PackageVisibleInnerClass.html @@ -1,6 +1,7 @@ This inspection reports package-visible inner classes. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/PackageWithTooFewClasses.html b/plugins/InspectionGadgets/src/inspectionDescriptions/PackageWithTooFewClasses.html index 460cd9574cce..83df05e31bc4 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/PackageWithTooFewClasses.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/PackageWithTooFewClasses.html @@ -2,6 +2,7 @@ This global inspection reports any packages which contain too few classes. Overly small packages may indicate an overly fragmented design. +

    Use the field below to specify the minimum number of classes a package may have before triggering this inspection.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/PackageWithTooManyClasses.html b/plugins/InspectionGadgets/src/inspectionDescriptions/PackageWithTooManyClasses.html index ddc158a38f46..f93d3c6cb852 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/PackageWithTooManyClasses.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/PackageWithTooManyClasses.html @@ -3,6 +3,7 @@ This global inspection reports any packages which contain too many classes. Overly large packages may indicate a lack of design clarity. Since this inspection requires global code analysis, it is only available in batch inspection mode. +

    Use the field below to specify the maximum number of classes a package may have before triggering this inspection.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ParameterHidingMemberVariable.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ParameterHidingMemberVariable.html index f85cfa51f6ba..426ea49d5527 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ParameterHidingMemberVariable.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ParameterHidingMemberVariable.html @@ -2,6 +2,7 @@ This inspection reports method parameters being named identically to visible member variables of their class. Such a parameter name may be confusing. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ParameterNameDiffersFromOverriddenParameter.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ParameterNameDiffersFromOverriddenParameter.html index f8d3d04af271..67c2ecbdcef1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ParameterNameDiffersFromOverriddenParameter.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ParameterNameDiffersFromOverriddenParameter.html @@ -3,6 +3,7 @@ This inspection reports parameters that have different names from the corresponding parameters in the methods they override. While legal in Java, such inconsistent names may be confusing, and lessen the documentation benefits of good naming practices. +

    Use the checkboxes below to indicate whether overridden parameter names which are only a single character long or come from a library method should be ignored. Both can be useful if diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ParameterNamingConvention.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ParameterNamingConvention.html index 368b3272fbef..71c6bfb47aa5 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ParameterNamingConvention.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ParameterNamingConvention.html @@ -2,6 +2,7 @@ This inspection reports method parameters whose names are either too short, too long, or do not follow the specified regular expression pattern. +

    Use the fields provided below to specify minimum length, maximum length and regular expression expected for method parameter names. (Regular expressions are in standard java.util.regex format.) diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ParameterOfConcreteClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ParameterOfConcreteClass.html index 0c5ac50d1ebf..009dfbb1e660 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ParameterOfConcreteClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ParameterOfConcreteClass.html @@ -3,6 +3,7 @@ This inspection reports any method parameters whose type is declared to be 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. +

    Use the checkbox below to have this inspection ignore method parameters whose type is an abstract class.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ParameterizedParametersStaticCollection.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ParameterizedParametersStaticCollection.html index 390415bc3885..046607b20048 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ParameterizedParametersStaticCollection.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ParameterizedParametersStaticCollection.html @@ -2,6 +2,7 @@ This inspection reports classes annotated with @RunWith(Parameterized.class) without data provider method annotated with @Parameterized.Parameters +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ParametersPerConstructor.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ParametersPerConstructor.html index 6cb8c828ed22..4392ee862fc8 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ParametersPerConstructor.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ParametersPerConstructor.html @@ -2,6 +2,7 @@ This inspection reports constructors with too many parameters. Constructors with too many parameters can be a good sign that refactoring is necessary. +

    Use the field provided below to specify the maximum acceptable number of parameters a constructor might have.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ParametersPerMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ParametersPerMethod.html index a334dfea2a4e..c455163f1e4b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ParametersPerMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ParametersPerMethod.html @@ -3,6 +3,7 @@ This inspection reports methods with too many parameters. Methods with too many parameters can be a good sign that refactoring is necessary. Methods whose signatures are inherited from library classes are ignored by this inspection. +

    Use the field provided below to specify the maximum acceptable number of parameters a method might have.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessArithmeticExpression.html b/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessArithmeticExpression.html index 73815b7f96dd..6dc234213990 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessArithmeticExpression.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessArithmeticExpression.html @@ -5,6 +5,7 @@ expressions. Such expressions include adding or subtracting zero, multiplying by division by one, and shift by zero. Such expressions may be the result of automated refactorings not completely followed through to completion, and in any case are unlikely to be what the developer intended to do. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessBitwiseExpression.html b/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessBitwiseExpression.html index e4e50c5b59bf..6f7c65c3bb2b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessBitwiseExpression.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessBitwiseExpression.html @@ -5,6 +5,7 @@ expressions. Such expressions include anding with zero, oring by z and shift by zero. Such expressions may be the result of automated refactorings not completely followed through to completion, and in any case are unlikely to be what the developer intended to do. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessBooleanExpression.html b/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessBooleanExpression.html index ec43f03ce111..0443701fa5da 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessBooleanExpression.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessBooleanExpression.html @@ -6,6 +6,7 @@ complicated boolean expressions. Such expressions include anding with tru equality comparison with a boolean literal, or negation of a boolean literal. Such expressions may be the result of automated refactorings not completely followed through to completion, and in any case are unlikely to be what the developer intended to do. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessIndexOfComparison.html b/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessIndexOfComparison.html index 0382cc8c0ded..2c50ad9ae516 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessIndexOfComparison.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessIndexOfComparison.html @@ -3,6 +3,7 @@ This inspection reports pointless comparison with .indexOf() expression. An example of such an expression is comparing the result of .indexOf() with numbers less than -1. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessNullCheck.html b/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessNullCheck.html index a5e68a905d33..5b77607bbbb0 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessNullCheck.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/PointlessNullCheck.html @@ -7,6 +7,7 @@ there is no need to also have a null check.

        if (x != null && x instanceof String) { ... }

    The quickfix changes this code to:

        if (x instanceof String) { ... }
    +

    New in 11, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/PrimitiveArrayArgumentToVariableArgMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/PrimitiveArrayArgumentToVariableArgMethod.html index 23b5c7b6628e..abe2cef1e89a 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/PrimitiveArrayArgumentToVariableArgMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/PrimitiveArrayArgumentToVariableArgMethod.html @@ -4,6 +4,7 @@ This inspection reports any calls to a variable-argument method which has a prim in the variable-argument position (e.g System.out.printf("%s", new int[]{1, 2, 3}) ). Such a primitive-array argument may be confusing, as it will wrapped as a single-element array, rather than each individual element being boxed, as might be expected. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/PrivateMemberAccessBetweenOuterAndInnerClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/PrivateMemberAccessBetweenOuterAndInnerClass.html index 515088764089..c630bf245ff9 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/PrivateMemberAccessBetweenOuterAndInnerClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/PrivateMemberAccessBetweenOuterAndInnerClass.html @@ -9,6 +9,7 @@ another class. To enable access from an inner class to private members of a containing class or the other way around javac and other compilers create package private synthetic accessor methods. Less use of memory and greater performance may be achieved by making the member package local, thus allowing direct access without the creation of synthetic accessor methods. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ProtectedField.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ProtectedField.html index 5bb5f2b4e206..cab6de28fde4 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ProtectedField.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ProtectedField.html @@ -2,6 +2,7 @@ This inspection reports protected instance variables. Constants (i.e. variables marked static and final) are not reported. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ProtectedInnerClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ProtectedInnerClass.html index 62926409763e..56ece589029b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ProtectedInnerClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ProtectedInnerClass.html @@ -1,6 +1,7 @@ This inspection reports protected inner classes. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ProtectedMemberInFinalClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ProtectedMemberInFinalClass.html index 945483334810..503a18f64222 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ProtectedMemberInFinalClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ProtectedMemberInFinalClass.html @@ -3,6 +3,7 @@ This inspection reports members being declared protected in classes that are declared final. Such members may be declared private or package-visible instead. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/PublicConstructorInNonPublicClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/PublicConstructorInNonPublicClass.html index 26ed7c28a378..5dd636e833ae 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/PublicConstructorInNonPublicClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/PublicConstructorInNonPublicClass.html @@ -2,6 +2,7 @@ This inspection reports all constructors in non-public classes that are declared public. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/PublicFieldAccessedInSynchronizedContext.html b/plugins/InspectionGadgets/src/inspectionDescriptions/PublicFieldAccessedInSynchronizedContext.html index 8279fd5ff151..2baee0d9cdd4 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/PublicFieldAccessedInSynchronizedContext.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/PublicFieldAccessedInSynchronizedContext.html @@ -3,6 +3,7 @@ This inspection reports non-final, non-private fields which are accessed in a synchronized context. A non-private field cannot be guaranteed to always be accessed in a synchronized manner, and such "partially synchronized" access may result in unexpectedly inconsistent data structures. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/PublicInnerClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/PublicInnerClass.html index f0f488bfde3c..64fe53a42da1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/PublicInnerClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/PublicInnerClass.html @@ -1,6 +1,7 @@ This inspection reports public inner classes. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/PublicStaticArrayField.html b/plugins/InspectionGadgets/src/inspectionDescriptions/PublicStaticArrayField.html index 1912174add86..9a3783f908cb 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/PublicStaticArrayField.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/PublicStaticArrayField.html @@ -3,6 +3,7 @@ This inspection reports public static array fields. Often used to store arrays of constant values, these fields nonetheless represent a security hazard, as their contents may be modified, even if the field is declared as final. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/PublicStaticCollectionField.html b/plugins/InspectionGadgets/src/inspectionDescriptions/PublicStaticCollectionField.html index 407b6c54621b..b8f610e80bd6 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/PublicStaticCollectionField.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/PublicStaticCollectionField.html @@ -3,6 +3,7 @@ This inspection reports public static Collection fields. Often used to store collections of constant values, these fields nonetheless represent a security hazard, as their contents may be modified, even if the field is declared as final. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/QuestionableName.html b/plugins/InspectionGadgets/src/inspectionDescriptions/QuestionableName.html index 9a2a069fa56e..a13b58d41930 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/QuestionableName.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/QuestionableName.html @@ -3,6 +3,7 @@ This inspection reports on any variables, methods, or classes with questionable names. This inspection is best used to report common metasyntactic variables which may be used as names by lazy or confused developers. +

    Use the list below to specify names which should be reported

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/RandomDoubleForRandomInteger.html b/plugins/InspectionGadgets/src/inspectionDescriptions/RandomDoubleForRandomInteger.html index edced344fed2..d08457b29f8b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/RandomDoubleForRandomInteger.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/RandomDoubleForRandomInteger.html @@ -4,6 +4,7 @@ This inspection reports any calls to java.util.Random.getDouble() which are then multiplied by some factor and cast to an integer. For generating a random integer in some range, java.util.Random.getInt() is more efficient. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/RawUseOfParameterizedType.html b/plugins/InspectionGadgets/src/inspectionDescriptions/RawUseOfParameterizedType.html index caf58bb76d26..44180bcedf3d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/RawUseOfParameterizedType.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/RawUseOfParameterizedType.html @@ -4,13 +4,14 @@ This inspection reports any uses of parameterized classes where the type paramet Such "raw" uses of parameterized types are valid in Java, but defeat the purpose of using type parameters, and may mask bugs.

    +This inspection only reports if the project or module is configured to use a +language level of 5.0 or higher. + +

    Use the first checkbox below to ignore the construction of objects of parameterized types. Use the second checkbox below to ignore raw types in type casts.

    -This inspection only reports if the project or module is configured to use a -language level of 5.0 or higher. -

    Powered by InspectionGadgets \ No newline at end of file diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ReadObjectAndWriteObjectPrivate.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ReadObjectAndWriteObjectPrivate.html index 484a32d7ef0c..8931c49814a8 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ReadObjectAndWriteObjectPrivate.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ReadObjectAndWriteObjectPrivate.html @@ -3,6 +3,7 @@ This inspection reports Serializable classes where the readObject and writeObject() methods are not declared private. There is no reason these methods should ever have greater visibility than that. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ReadObjectInitialization.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ReadObjectInitialization.html index c93921219d4d..3042cd790032 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ReadObjectInitialization.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ReadObjectInitialization.html @@ -5,6 +5,7 @@ deserialized by the readObject() method.

    Note: This inspection uses a very conservative dataflow algorithm, and may report instance variables as uninitialized incorrectly. Variables reported as initialized will always be initialized. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ReadResolveAndWriteReplaceProtected.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ReadResolveAndWriteReplaceProtected.html index d50f4d24e3c2..d47e9014e48f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ReadResolveAndWriteReplaceProtected.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ReadResolveAndWriteReplaceProtected.html @@ -4,6 +4,7 @@ This inspection reports Serializable classes where the readResolve()writeReplace() methods are not declared protected. Note: in the case of classes declared final, these methods may be declared private, instead. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/RecordStoreResource.html b/plugins/InspectionGadgets/src/inspectionDescriptions/RecordStoreResource.html index b67228b001be..94abb12e4c93 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/RecordStoreResource.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/RecordStoreResource.html @@ -6,6 +6,7 @@ Applying the results of this inspection without consideration might have negativ This inspection reports any J2ME RecordStore resource which is not opened in front of a try block and closed in the corresponding finally block. Such resources may be inadvertently leaked if an exception is thrown before the resource is closed. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantFieldInitialization.html b/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantFieldInitialization.html index dcd2209f7102..a76161ac0115 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantFieldInitialization.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantFieldInitialization.html @@ -2,6 +2,7 @@ This inspection reports fields explicitly initialized to the same values that the JVM would initialize them to by default. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantImplements.html b/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantImplements.html index a89b2d5b570f..472712c9fb1d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantImplements.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantImplements.html @@ -3,6 +3,7 @@ This inspection reports any cases of classes declaring that they implement or extend an interface, when that interface is already declared as implemented by a superclass or extended by another interface of that class. Such declarations are unnecessary, and may be safely removed. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantImport.html b/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantImport.html index 38fe990693cb..ad434d6297e6 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantImport.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantImport.html @@ -5,6 +5,7 @@ statements that are covered by previous import statements in the same file. Since IDEA can automatically detect and fix such statements with its "Optimize Imports" command, this inspection is mostly useful for off-line reporting on code bases that you don't intend to change. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantMethodOverride.html b/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantMethodOverride.html index 4380c0fe00b1..412669d55599 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantMethodOverride.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantMethodOverride.html @@ -2,6 +2,7 @@ This inspection reports any method that has a body and signature that are identical to its super method. Such a method is redundant and probably a coding error. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantStringFormatCall.html b/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantStringFormatCall.html index c8ce59ee9a0d..b45db25c9624 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantStringFormatCall.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantStringFormatCall.html @@ -3,6 +3,7 @@ This inspection reports any calls to String.format() where only a format string is provided, but no arguments. Such a call is unnecessary and can be replaced with just the string. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ReflectionForUnavailableAnnotation.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ReflectionForUnavailableAnnotation.html index 2b9363739408..3ecca5ce1f91 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ReflectionForUnavailableAnnotation.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ReflectionForUnavailableAnnotation.html @@ -5,6 +5,7 @@ annotation which is not defined has being retained at runtime. Using Class.isAnnotationPresent() to test for an annotation which has source retention or class-file retention (the default) will always result in a negative result, but is easy to do inadvertently. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/RefusedBequest.html b/plugins/InspectionGadgets/src/inspectionDescriptions/RefusedBequest.html index c1dd76007908..a0d6535808ef 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/RefusedBequest.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/RefusedBequest.html @@ -4,6 +4,7 @@ This inspection reports any methods which override concrete methods, but which do not call that method as super. Such methods may represent a failure of abstraction, and can lead to hard-to-trace bugs. Methods overridden from java.lang.Object are not reported by this inspection. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ReplaceAllDot.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ReplaceAllDot.html index c251bd994a48..fd64a95ba235 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ReplaceAllDot.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ReplaceAllDot.html @@ -5,6 +5,7 @@ This inspection reports any calls to as the first argument. Calling replaceAll(".", ...) replaces all of the characters in a string with its second argument, which is rarely the desired functionality. More probably, replaceAll("\.", ...) was intended. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ReplaceAssignmentWithOperatorAssignment.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ReplaceAssignmentWithOperatorAssignment.html index 3ffb594b8159..825f489c14ee 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ReplaceAssignmentWithOperatorAssignment.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ReplaceAssignmentWithOperatorAssignment.html @@ -2,6 +2,7 @@ This inspection reports assignment operations which can be replaced by operator-assignment. Code using operator assignment may be clearer, and theoretically more performant. +

    Use the check box below to ignore the conditional operators && and ||. Replacing conditional operators with operator diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ResultOfObjectAllocationIgnored.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ResultOfObjectAllocationIgnored.html index 9da57f8e840a..06a0fc08ef36 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ResultOfObjectAllocationIgnored.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ResultOfObjectAllocationIgnored.html @@ -3,6 +3,7 @@ This inspection reports object allocation where the object allocated ignored. Such allocation expressions are legal Java, but are usually either inadvertent, or evidence of a very odd object initialization strategy. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ResultSetIndexZero.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ResultSetIndexZero.html index 30f9a01422b8..9be24484fc78 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ResultSetIndexZero.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ResultSetIndexZero.html @@ -3,6 +3,7 @@ This inspection reports any attempts to access column 0 of a java.sql.ResultSet or java.sql.PreparedStatement. For historical reasons columns of java.sql.ResultSets and java.sql.PreparedStatements are numbered beginning with 1, rather than 0, and accessing column 0 is a common error in JDBC programming. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ReturnFromFinallyBlock.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ReturnFromFinallyBlock.html index 1befcfed5ecc..5559c007b739 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ReturnFromFinallyBlock.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ReturnFromFinallyBlock.html @@ -3,6 +3,7 @@ This inspection reports return statements inside of finally blocks. While occasionally intended, such return statements may mask exceptions thrown, and tremendously complicate debugging. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ReturnNull.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ReturnNull.html index 9d543b953b86..05248859bbf1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ReturnNull.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ReturnNull.html @@ -4,6 +4,7 @@ This inspection reports return statements with null values. While occasionally useful, this construct may make the code more prone to failing with a NullPointerException, and often indicates that the developer doesn't really understand the classes intended semantics. +

    Use the first control below to let this inspection ignore private methods.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ReturnOfCollectionField.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ReturnOfCollectionField.html index d23718eec458..57bbcf480ba6 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ReturnOfCollectionField.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ReturnOfCollectionField.html @@ -4,6 +4,7 @@ This inspection reports any attempt to return an array or Collection fiel the array or Collection may have its contents modified by the calling method, this construct may result in an object having its state modified unexpectedly. While occasionally useful for performance reasons, this construct is inherently bug-prone. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ReturnOfDateField.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ReturnOfDateField.html index cd9efbd70924..699a29e7772f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ReturnOfDateField.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ReturnOfDateField.html @@ -6,6 +6,7 @@ This inspection reports any attempt to return a java.lang.Date or treated as immutable values but are actually mutable, this construct may result in an object having its state modified unexpectedly. While occasionally useful for performance reasons, this construct is inherently bug-prone. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ReturnThis.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ReturnThis.html index 93c910e813e9..584740ea0a23 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ReturnThis.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ReturnThis.html @@ -4,6 +4,7 @@ This inspection reports methods returning this. While such a return is valid, it is rarely necessary, and usually indicates that the developer intends the method to be used as part of a chain of similar method calls (e.g. buffer.append("foo").append("bar").append("baz")). Such chains are frowned upon by many coding standards. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ReuseOfLocalVariable.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ReuseOfLocalVariable.html index 4453a30e2b5b..d8fd9f249af9 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ReuseOfLocalVariable.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ReuseOfLocalVariable.html @@ -6,6 +6,7 @@ as the intended semantics of the local variable may vary with each use. It may a prone to bugs, if code changes result in values that were thought to be overwritten actually being live. It is good practices to keep variable lifetimes as short as possible, and not reuse local variables for the sake of brevity. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/RuntimeExec.html b/plugins/InspectionGadgets/src/inspectionDescriptions/RuntimeExec.html index 1b73c555e2a3..a519e2ded993 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/RuntimeExec.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/RuntimeExec.html @@ -3,6 +3,7 @@ This inspection reports the calls to Runtime.exec() or any of its variants. Calls to Runtime.exec() are inherently unportable between operating systems. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/RuntimeExecWithNonConstantString.html b/plugins/InspectionGadgets/src/inspectionDescriptions/RuntimeExecWithNonConstantString.html index dd1fcd123b85..5257c6e8acc4 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/RuntimeExecWithNonConstantString.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/RuntimeExecWithNonConstantString.html @@ -3,6 +3,7 @@ This inspection reports the calls to Runtime.exec() or any of its variants which take a dynamically-constructed string as the statement to execute. Constructed execution strings are a common source of security breaches. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SafeLock.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SafeLock.html index 1bb1208abd0f..b2911623d4bb 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SafeLock.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SafeLock.html @@ -3,6 +3,7 @@ This inspection reports any java.util.concurrent.locks.Lock resource which is not acquired in front of a try block and unlocked in the corresponding finally block. Such resources may be inadvertently leaked if an exception is thrown before the resource is closed. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SamePackageImport.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SamePackageImport.html index a0417ba8c7ac..9a97a36b3c13 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SamePackageImport.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SamePackageImport.html @@ -5,6 +5,7 @@ containing file. Such imports are unnecessary, and probably the result of incomp refactorings. Since IDEA can automatically detect and fix such statements with its "Optimize Imports" command, this inspection is mostly useful for off-line reporting on code bases that you don't intend to change. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SerialPersistentFieldsWithWrongSignature.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SerialPersistentFieldsWithWrongSignature.html index c26ece932644..6b579c27426e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SerialPersistentFieldsWithWrongSignature.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SerialPersistentFieldsWithWrongSignature.html @@ -2,6 +2,7 @@ This inspection reports Serializable classes whose serialPersistentFields field. is not declared private static final ObjectStreamField. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SerialVersionUIDNotStaticFinal.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SerialVersionUIDNotStaticFinal.html index 0164db2cbf83..c95a5c89d28d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SerialVersionUIDNotStaticFinal.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SerialVersionUIDNotStaticFinal.html @@ -2,6 +2,7 @@ This inspection reports Serializable classes whose serialVersionUID field. is not declared private static final long. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableClassInSecureContext.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableClassInSecureContext.html index 589485e27e1b..1a03acfc8dd3 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableClassInSecureContext.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableClassInSecureContext.html @@ -4,6 +4,7 @@ This inspection reports classes which may be serialized. A class may be serialized if it supports the Serializable interface, and its writeObject() method is not defined to immediately throw an error. Serializable classes may be dangerous in code intended for secure use. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableHasSerialVersionUIDField.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableHasSerialVersionUIDField.html index f6b2fab0263b..98c6f9a8e73e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableHasSerialVersionUIDField.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableHasSerialVersionUIDField.html @@ -2,6 +2,7 @@ This inspection reports any Serializable classes which do not provide a serialVersionUID field. Without a serialVersionUID field, any change to a class will make previously serialized versions unreadable. +

    Use the table below to specify what specific classes and inheritors should be excluded from being checked by this inspection. This is meant for those classes which, although they inherit diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableHasSerializationMethods.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableHasSerializationMethods.html index 206cb0ab664b..7d7ab80c96d7 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableHasSerializationMethods.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableHasSerializationMethods.html @@ -6,6 +6,7 @@ which do not provide readObject and and writeObject methods are not provided, the default serialization algorithms are used, which may be sub-optimal in many environments for performance and compatibility purposes. +

    Use the table below to specify what specific classes and inheritors should be excluded from being checked by this inspection. This is meant for those classes which, although they inherit diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableInnerClassHasSerialVersionUIDField.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableInnerClassHasSerialVersionUIDField.html index 1464d91721f8..f00a3c9356b2 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableInnerClassHasSerialVersionUIDField.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableInnerClassHasSerialVersionUIDField.html @@ -7,6 +7,7 @@ It is strongly recommended that Serializable non-static inner classes hav a serialVersionUID field, otherwise the default serialization algorithm may result in serialized versions being incompatible between compilers, due to differences in synthetic accessor methods. +

    Use the table below to specify what specific classes and inheritors should be excluded from being checked by this inspection. This is meant for those classes which, although they inherit diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableInnerClassWithNonSerializableOuterClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableInnerClassWithNonSerializableOuterClass.html index abc1872cfe2d..7d7e455f17a1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableInnerClassWithNonSerializableOuterClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableInnerClassWithNonSerializableOuterClass.html @@ -3,6 +3,7 @@ This inspection reports Serializable non-static inner classes whose outer classes are non-Serializable. Such classes are unlikely to serialize correctly, due to implicit references from the inner to outer class. +

    Use the table below to specify what specific classes and inheritors should be excluded from being checked by this inspection. This is meant for those classes which, although they inherit diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableWithUnconstructableAncestor.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableWithUnconstructableAncestor.html index f2fb24c69e12..847af16e497d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableWithUnconstructableAncestor.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SerializableWithUnconstructableAncestor.html @@ -2,6 +2,7 @@ This inspection reports Serializable classes whose closest non-serializable ancestor lacks a no-argument constructor. Such classes can not be deserialized. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SetReplaceableByEnumSet.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SetReplaceableByEnumSet.html index 11e4d217db8c..25ee2c561c5a 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SetReplaceableByEnumSet.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SetReplaceableByEnumSet.html @@ -5,6 +5,7 @@ whose content types are enumerated classes. Such java.util.Set objects can be replaced by java.util.EnumSet objects. java.util.EnumSet implementations can be much more efficient that those of other sets, as the underlying data structure is a simple bitmap. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SetupCallsSuperSetup.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SetupCallsSuperSetup.html index f76131a3bf28..44e229245746 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SetupCallsSuperSetup.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SetupCallsSuperSetup.html @@ -2,6 +2,7 @@ This inspection reports JUnit classes whose setUp() method does not call super.setUp(). +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SetupIsPublicVoidNoArg.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SetupIsPublicVoidNoArg.html index e388171147ef..82b89f78004d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SetupIsPublicVoidNoArg.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SetupIsPublicVoidNoArg.html @@ -5,6 +5,7 @@ is not declared public, does not return void, or takes arguments. Such setUp() methods are easy to create inadvertently, and will not be executed by JUnit tests runners. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ShiftOutOfRange.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ShiftOutOfRange.html index 51408d0e4145..6bc38d15c2d5 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ShiftOutOfRange.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ShiftOutOfRange.html @@ -5,6 +5,7 @@ where the value shifted by is constant and outside of the reasonable range. Inte shift operations outside of the range 0..31 and long shift operations outside of the range 0..63 are reported. Shifting by negative or overly large values is almost certainly a coding error. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SignalWithoutCorrespondingAwait.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SignalWithoutCorrespondingAwait.html index 721ffcb429db..484570eb4cf1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SignalWithoutCorrespondingAwait.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SignalWithoutCorrespondingAwait.html @@ -4,6 +4,7 @@ This inspection reports on any call to Condition.signal() or Condition.signalAll() for which no call to a corresponding Condition.await() can be found. Only calls which target fields of the current class are reported by this inspection. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SimpleDateFormatWithoutLocale.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SimpleDateFormatWithoutLocale.html index f828d6652904..3a04be138489 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SimpleDateFormatWithoutLocale.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SimpleDateFormatWithoutLocale.html @@ -3,6 +3,7 @@ This inspection reports any instantiations of java.util.SimpleDateFormat which do not specify a java.util.Locale. Such calls are usually incorrect in an internationalized environment. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableAnnotation.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableAnnotation.html index 38b21c56e75b..1905b0839765 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableAnnotation.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableAnnotation.html @@ -3,6 +3,7 @@ This inspection reports annotations which can be simplified to their 'single element' or 'marker' shorthand form. Annotations that contain whitespace between the @-sign and the name of the annotation are also reported. +

    New in 10, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableConditionalExpression.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableConditionalExpression.html index b270d7afdb0e..b6ac1d0aa8e4 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableConditionalExpression.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableConditionalExpression.html @@ -6,6 +6,7 @@ This inspection reports conditional expressions of the form expressions may be safely simplified to condition || foo or !condition && foo, respectively. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableEqualsExpression.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableEqualsExpression.html index 7835902c93e8..b876cdd52da6 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableEqualsExpression.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableEqualsExpression.html @@ -11,6 +11,7 @@ And the quickfix will replace that with:

         if ("literal".equals(s)) {}
     
    +

    New in 11, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableIfStatement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableIfStatement.html index 98a74c0f1e31..ade84e02d39d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableIfStatement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableIfStatement.html @@ -9,6 +9,7 @@ or if (condition) return false else return foo. These expressions may be safely simplified to return condition && foo or return !condition || foo, respectively. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableJUnitAssertion.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableJUnitAssertion.html index 95d1af0a67fb..85aa65d10f40 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableJUnitAssertion.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableJUnitAssertion.html @@ -3,6 +3,7 @@ This inspection reports any JUnit assertTrue calls which can be replaced by equivalent assertEquals calls. assertEquals calls will normally give better error messages in case of test failure than assertTrue can. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SingleCharacterStartsWith.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SingleCharacterStartsWith.html index 3ce3f8b50ccb..978c207d876c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SingleCharacterStartsWith.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SingleCharacterStartsWith.html @@ -9,6 +9,7 @@ literals as parameter. Such calls may be more efficiently implemented with String.charAt(). Because the performance gain is minimal, the needed extra check for non-zero length, and the negative effect on code clarity, it is recommended to do so only inside tight loops. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SingleClassImport.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SingleClassImport.html index 47d84f2e63ca..06cb04422cfd 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SingleClassImport.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SingleClassImport.html @@ -4,6 +4,7 @@ This inspection reports any import statements which cover single classes Some coding standards prohibit such import statements. Since IDEA can automatically detect and fix such statements with its "Optimize Imports" command, this inspection is mostly useful for off-line reporting on code bases that you don't intend to change. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/Singleton.html b/plugins/InspectionGadgets/src/inspectionDescriptions/Singleton.html index d63645451808..910eefa65f15 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/Singleton.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/Singleton.html @@ -4,6 +4,7 @@ This inspection reports singleton classes. Singleton classes are declared so that only one instance of the class may ever be instantiated. Singleton classes complicate testing, and their presence may indicate a lack of object-oriented design. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SizeReplaceableByIsEmpty.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SizeReplaceableByIsEmpty.html index 1c8ea9741f82..6788578061bd 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SizeReplaceableByIsEmpty.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SizeReplaceableByIsEmpty.html @@ -2,6 +2,7 @@ This inspection reports any .size() or .length() comparisons with a 0 literal which can be replaced with a call to .isEmpty(). +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SleepWhileHoldingLock.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SleepWhileHoldingLock.html index 1e248e510193..6c941ec7e9c0 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SleepWhileHoldingLock.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SleepWhileHoldingLock.html @@ -5,6 +5,7 @@ within a synchronized block or method. Sleeping while synchronized may result in decreased performance, poor scalability, and possibly even deadlocking. Consider using wait instead, as it will release the lock held. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SocketResource.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SocketResource.html index a8560ab0caad..6a061f63a3bb 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SocketResource.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SocketResource.html @@ -7,6 +7,7 @@ be inadvertently leaked if an exception is thrown before the resource is closed. by this inspection include java.net.Socket, java.net.DatagramSocket, and java.net.ServerSocket. +

    Use the checkbox below to specify if a Socket is allowed to be opened inside a try block. This style is less desirable because it is more verbose than opening a Socket diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StandardVariableNames.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StandardVariableNames.html index 3ccf2cd7298d..c615ae93be69 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StandardVariableNames.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StandardVariableNames.html @@ -11,6 +11,7 @@ Such names may be confusing. Standard names and types are as follows:

  • l - long
  • s, str - String
  • +

    Use the checkbox below to ignore parameter names which are identical to the parameter name from a direct super method. Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticCallOnSubclass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticCallOnSubclass.html index 07023fb9fd4c..5f4e5ff342ed 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticCallOnSubclass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticCallOnSubclass.html @@ -4,6 +4,7 @@ This inspection reports static method calls where the call is qualified by a subclass of the declaring class, rather than the declaring class itself (e.g. MyThreadSubclass.sleep()). Java allows such qualification, but such calls may be confusing, and may indicate a subtle confusion of inheritance and overriding. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticCollection.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticCollection.html index 60ed3fcaea8d..41921649de4e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticCollection.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticCollection.html @@ -3,6 +3,7 @@ This inspection reports Collection variables declared as static. While not necessarily a problem, static collections are often causes of memory leaks, and are therefore prohibited by some coding standards. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticFieldCanBeMovedToUse.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticFieldCanBeMovedToUse.html index dcc8d9aab481..2d2f885e701f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticFieldCanBeMovedToUse.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticFieldCanBeMovedToUse.html @@ -3,6 +3,7 @@ This global inspection reports any static fields which are only used in a different class than the one they are defined in. Such fields can be moved. Since this inspection requires global code analysis, it is only available in batch inspection mode. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticFieldReferenceOnSubclass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticFieldReferenceOnSubclass.html index 5118f47ceda9..00cee37e2d7a 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticFieldReferenceOnSubclass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticFieldReferenceOnSubclass.html @@ -4,6 +4,7 @@ This inspection reports static field access where the call is qualified by a subclass of the declaring class, rather than the declaring class itself. Java allows such qualification, but such accesses may be confusing, and may indicate a subtle confusion of inheritance and overriding. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticImport.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticImport.html index 1eecbe42bd11..570e5de1c36f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticImport.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticImport.html @@ -2,6 +2,7 @@ This inspection reports static import statements. Such import statements are not supported under Java 1.4 or earlier JVMs. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticInheritance.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticInheritance.html index e365fdc35bfe..584d7bf70cd3 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticInheritance.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticInheritance.html @@ -3,6 +3,7 @@ This inspection reports interfaces which are implemented for no reason other than access to constants. Such inheritance is often confusing, and may hide important dependency information. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticMethodNamingConvention.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticMethodNamingConvention.html index 3cf6c6ddbb34..e9cd6fa73d22 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticMethodNamingConvention.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticMethodNamingConvention.html @@ -2,6 +2,7 @@ This inspection reports static methods whose names are either too short, too long, or do not follow the specified regular expression pattern. +

    Use the fields provided below to specify minimum length, maximum length and regular expression expected for static method names. (Regular expressions are in standard java.util.regex format.) diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticMethodOnlyUsedInOneClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticMethodOnlyUsedInOneClass.html index 601cbe807c7c..c252440e5e80 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticMethodOnlyUsedInOneClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticMethodOnlyUsedInOneClass.html @@ -5,6 +5,7 @@ are only called from one class which is not the same as the class containing the method. Such methods could be moved into that class.

    This inspection may be cpu intensive. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticNonFinalField.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticNonFinalField.html index cbf576891e2d..861a000c5955 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticNonFinalField.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticNonFinalField.html @@ -1,6 +1,7 @@ This inspection reports non-final static fields. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticSuite.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticSuite.html index 172a323b16ed..c6c8a287733e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticSuite.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticSuite.html @@ -2,6 +2,7 @@ This inspection reports JUnit test case classes which contain suite() methods which are not declared static. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticVariableInitialization.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticVariableInitialization.html index d4cc0bd79d8e..1000f1b78a61 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticVariableInitialization.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticVariableInitialization.html @@ -2,10 +2,11 @@ This inspection reports static variables which are not guaranteed to be initialized upon class initialization.

    -Use the checkbox below to indicate whether you want uninitialized primitive fields to be reported. -

    Note: This inspection uses a very conservative dataflow algorithm, and may report static variables as uninitialized incorrectly. Variables reported as initialized will always be initialized. + +

    + Use the checkbox below to indicate whether you want uninitialized primitive fields to be reported.

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticVariableNamingConvention.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticVariableNamingConvention.html index 777b815b7470..625244614fe5 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticVariableNamingConvention.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticVariableNamingConvention.html @@ -3,6 +3,7 @@ This inspection reports static variables whose names are either too short, too long, or do not follow the specified regular expression pattern. Constants, i.e. variables of immutable type declared static final, are not checked by this inspection +

    Use the fields provided below to specify minimum length, maximum length and regular expression expected for static variable names. (Regular expressions are in standard java.util.regex format.) diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticVariableOfConcreteClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticVariableOfConcreteClass.html index e43d9214952d..e8ea4b76c4db 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticVariableOfConcreteClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticVariableOfConcreteClass.html @@ -3,6 +3,7 @@ This inspection reports any static fields whose type is declared to be 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. +

    Use the checkbox below to have this inspection ignore static fields whose type is an abstract class.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticVariableUninitializedUse.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticVariableUninitializedUse.html index 4a5459bb4f78..223d25c1b85e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticVariableUninitializedUse.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticVariableUninitializedUse.html @@ -2,10 +2,11 @@ This inspection reports static variables which are read prior to initialization.

    -Use the checkbox below to indicate whether you want uninitialized primitive fields to be reported. -

    Note: This inspection uses a very conservative dataflow algorithm, and may report static variables used uninitialized incorrectly. Variables reported as initialized will always be initialized. + +

    +Use the checkbox below to indicate whether you want uninitialized primitive fields to be reported.

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StringBufferField.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StringBufferField.html index 13e072421c3e..ecdd35ec0a8f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StringBufferField.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StringBufferField.html @@ -4,6 +4,7 @@ This inspection reports fields with type java.lang.StringBuffer or java.lang.StringBuilder. StringBuffer fields can grow without limit, and are often the cause of memory leaks. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StringBufferMustHaveInitialCapacity.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StringBufferMustHaveInitialCapacity.html index a10acd561dc4..0c738998be77 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StringBufferMustHaveInitialCapacity.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StringBufferMustHaveInitialCapacity.html @@ -5,6 +5,7 @@ This inspection reports any attempt to instantiate a new StringBuffer or If no initial capacity is specified, a default capacity is used, which will rarely be optimal. Failing to specify initial capacities for StringBuffers may result in performance issues, if space needs to be reallocated and memory copied when capacity is exceeded +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StringBufferReplaceableByString.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StringBufferReplaceableByString.html index 832b4e495ec3..dc144db4b2e6 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StringBufferReplaceableByString.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StringBufferReplaceableByString.html @@ -3,6 +3,7 @@ This inspection reports any variables declared as or uses of java.lang.StringBuffer and java.lang.StringBuilder which are effectively constant. These may be replaced with java.lang.String expressions which results in simpler and possibly more efficient code. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StringBufferReplaceableByStringBuilder.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StringBufferReplaceableByStringBuilder.html index 8571cdbef2be..6f5c47c3851b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StringBufferReplaceableByStringBuilder.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StringBufferReplaceableByStringBuilder.html @@ -7,6 +7,7 @@ more efficiently declared as java.lang.StringBuilder.

    This inspection only reports if the project or module is configured to use a language level of 5.0 or higher. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StringBufferToStringInConcatenation.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StringBufferToStringInConcatenation.html index d670ac9c333d..d488b4ded5ba 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StringBufferToStringInConcatenation.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StringBufferToStringInConcatenation.html @@ -4,6 +4,7 @@ This inspection reports StringBuffer.toString() or StringBuilder.toString() in String concatenations. In addition to being confusing, this code performs String allocation and copying, which is unnecessary as of JDK1.4. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StringCompareTo.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StringCompareTo.html index f7dff9c6c3df..198717d87fc5 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StringCompareTo.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StringCompareTo.html @@ -2,6 +2,7 @@ This inspection reports any call of compareTo() on String objects. Such calls are usually incorrect in an internationalized environment. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenation.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenation.html index 16c3ef44ad6f..c825f2d5331c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenation.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenation.html @@ -3,18 +3,24 @@ This inspection reports any String concatenation (+). Concatenation is usually incorrect in an internationalized environment, and should be replace by uses of java.text.MessageFormat or similar classes. +

    Use the first checkbox below to have this inspection ignore string concatenations which are used as a description argument in an assert statement. -
    Use the second checkbox to ignore string concatenations used as arguments +

    +Use the second checkbox to ignore string concatenations used as arguments for a call to any of the System.out.print() methods. -
    Use the third checkbox to ignore string concatenations used as arguments +

    +Use the third checkbox to ignore string concatenations used as arguments for a call to any of the System.err.print() methods. -
    Use the fourth checkbox to ignore string concatenations used as arguments in +

    +Use the fourth checkbox to ignore string concatenations used as arguments in the construction of any subclass of java.lang.Throwable -
    Use the fifth checkbox to ignore string concatenations in the initializers +

    +Use the fifth checkbox to ignore string concatenations in the initializers of constant fields. -
    Use the sixth checkbox to ignore string concatenations in test code. +

    +Use the sixth checkbox to ignore string concatenations in test code.

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenationInFormatCall.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenationInFormatCall.html index d2f1e841bb5e..ab7286fb909a 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenationInFormatCall.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenationInFormatCall.html @@ -8,6 +8,7 @@ This inspection checks calls to appropriate methods on java.lang.String, java.io.PrintWriter, or java.io.PrintStream. +

    New in 10.0.2, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenationInLoops.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenationInLoops.html index 383f6baab816..837deab0bf72 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenationInLoops.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenationInLoops.html @@ -4,6 +4,7 @@ This inspection reports String concatenation in loops. For performance reasons, is preferable to replace such concatenation with explicit calls to StringBuilder.append() or StringBuffer.append() +

    Use the checkbox below to indicate that this inspection should only warn when the same variable is appended to inside the loop. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenationInMessageFormatCall.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenationInMessageFormatCall.html index b45fe64e0568..7e51011b40a4 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenationInMessageFormatCall.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenationInMessageFormatCall.html @@ -4,6 +4,7 @@ This inspection reports non-constant string concatenations used as an argument t MessageFormat.format(). Often this is the result of mistakenly concatenating a string format argument by typing a '+' when a ',' was meant. +

    New in 10.0.2, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenationInsideStringBufferAppend.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenationInsideStringBufferAppend.html index e7eb51399621..c4e15b8f2bdd 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenationInsideStringBufferAppend.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StringConcatenationInsideStringBufferAppend.html @@ -7,9 +7,12 @@ the argument to StringBuffer.append(), may profitably be turned into chained append calls on the existing StringBuffer/Builder/Appendable, saving the cost of an extra StringBuffer/Builder -allocation.
    This inspection ignores compile time evaluated String +allocation. +

    +This inspection ignores compile time evaluated String concatenations, which when converted to chained append calls would only worsen performance. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StringConstructor.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StringConstructor.html index f275db0d7b54..61b4fe84e9ff 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StringConstructor.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StringConstructor.html @@ -4,6 +4,7 @@ This inspection reports any attempt to instantiate a new String object by copying an existing string. Constructing new String objects in this way is rarely necessary, and may cause performance problems if done often enough. +

    Use the check box below to ignore String constructor calls which have a String.substring() diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StringEquality.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StringEquality.html index 16244e4cae09..b968cac2eebb 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StringEquality.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StringEquality.html @@ -2,6 +2,7 @@ This inspection reports any use of == to test for String equality, rather than the ".equals()" method. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StringEquals.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StringEquals.html index 4f08aaf20769..8552c148d583 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StringEquals.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StringEquals.html @@ -2,6 +2,7 @@ This inspection reports any call of equals() on String objects. Such calls are usually incorrect in an internationalized environment. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StringEqualsEmptyString.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StringEqualsEmptyString.html index 282f688e5866..6e6f1bb37d83 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StringEqualsEmptyString.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StringEqualsEmptyString.html @@ -3,6 +3,7 @@ This inspection reports .equals() being called to compare a String with an empty string. It is normally more performant to test a String for emptiness by comparing its .length() to zero instead. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StringEqualsIgnoreCase.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StringEqualsIgnoreCase.html index ae9299859a42..54abb65ff336 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StringEqualsIgnoreCase.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StringEqualsIgnoreCase.html @@ -2,6 +2,7 @@ This inspection reports any call of equalsIgnoreCase() on String objects. Such calls are usually incorrect in an internationalized environment. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StringReplaceableByStringBuffer.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StringReplaceableByStringBuffer.html index f32e4fb480e3..2279743d56d0 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StringReplaceableByStringBuffer.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StringReplaceableByStringBuffer.html @@ -2,7 +2,9 @@ This inspection reports any variables declared as java.lang.String which are repeatedly appended to. Such variables may be more efficiently declared as java.lang.StringBuffer -or java.lang.StringBuilder.
    +or java.lang.StringBuilder. + +

    Use the check box below to specify that this inspection should only warn when the variable is appended to in a loop.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StringToString.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StringToString.html index c7363451aa5f..b8f78a87b1c6 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StringToString.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StringToString.html @@ -2,6 +2,7 @@ This inspection reports any to call toString() on a String object. This is entirely redundant. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StringToUpperWithoutLocale.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StringToUpperWithoutLocale.html index 430b7ae0e578..f6e49b749b56 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StringToUpperWithoutLocale.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StringToUpperWithoutLocale.html @@ -4,6 +4,7 @@ This inspection reports any call of toUpperCase() or toLowerCase() on String objects which do not specify a java.util.Locale. Such calls are usually incorrect in an internationalized environment. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StringTokenizer.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StringTokenizer.html index 29a99c71314f..c13f00b065fe 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StringTokenizer.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StringTokenizer.html @@ -2,6 +2,7 @@ This inspection reports any use of the StringTokenizer class. Many uses of StringTokenizer are incorrect in an internationalized environment. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SubstringZero.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SubstringZero.html index 8a88817a6c0f..8605b71b6225 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SubstringZero.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SubstringZero.html @@ -2,6 +2,7 @@ This inspection reports any call to String.substring() with a constant argument equal to zero. Such calls are completely redundant, and may be removed. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SubtractionInCompareTo.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SubtractionInCompareTo.html index edd67d0113e9..b85697114254 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SubtractionInCompareTo.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SubtractionInCompareTo.html @@ -6,6 +6,7 @@ use the results of integer subtraction as the return of a compareTo() method, this construct may cause subtle and difficult bugs in cases of integer overflow. Comparing the integer values directly and returning -1, 0, or 1 is better practice in almost all cases. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SuppressionAnnotation.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SuppressionAnnotation.html index f011ef1dbfd7..2dcb4afad0be 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SuppressionAnnotation.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SuppressionAnnotation.html @@ -1,6 +1,7 @@ This inspection reports any inspection suppression comments or annotations. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SuspiciousIndentAfterControlStatement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SuspiciousIndentAfterControlStatement.html index 46cdee891024..4d79d5169822 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SuspiciousIndentAfterControlStatement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SuspiciousIndentAfterControlStatement.html @@ -3,6 +3,7 @@ This inspection reports any suspicious indentation of statements after a control statement without braces. Such indentation can make it look like the statement is part of the control statement, when in fact it will be executed after the control statement. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SuspiciousSystemArraycopy.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SuspiciousSystemArraycopy.html index 8b62d59028a9..1f5515bc5c1c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SuspiciousSystemArraycopy.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SuspiciousSystemArraycopy.html @@ -7,6 +7,7 @@ Warnings reported by this inspection are:

  • source and destination have a different type.
  • source offset, destination offset or length are negative. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SuspiciousToArrayCall.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SuspiciousToArrayCall.html index d4a2edd07c09..585681be15fe 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SuspiciousToArrayCall.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SuspiciousToArrayCall.html @@ -4,6 +4,7 @@ This inspection reports suspicious calls to Collection.toArray(). Reported are calls where the type of the specified array argument is not of the same type as the array type to which the result is casted or the type of the specified array argument does not match the type parameter of the collection declaration. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatement.html index 34c01082a6d0..3e27942e55da 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatement.html @@ -2,6 +2,7 @@ This inspection reports switch statements. switch statements are often (but not always) indicators of poor object-oriented design. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatementDensity.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatementDensity.html index 4f71e554d9a0..277d88b5872a 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatementDensity.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatementDensity.html @@ -3,6 +3,7 @@ This inspection reports switch statements with too low a ratio of switch labels to executable statements. Such switch statements may be confusing, and should probably be refactored. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatementWithConfusingDeclaration.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatementWithConfusingDeclaration.html index f569a5914527..7abe1f58622a 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatementWithConfusingDeclaration.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatementWithConfusingDeclaration.html @@ -2,6 +2,7 @@ This inspection reports local variables declared in one branch of a switch statement and used in a different branch. Such declarations can be extremely confusing. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatementWithTooFewBranches.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatementWithTooFewBranches.html index 7fb70fe7782e..9cc83ebd5cd9 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatementWithTooFewBranches.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatementWithTooFewBranches.html @@ -2,6 +2,7 @@ This inspection reports switch statements with too few case labels. Such statements may be more clearly expressed as if statements. +

    Use the field provided below to specify the minimum number of case labels expected.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatementWithTooManyBranches.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatementWithTooManyBranches.html index 5c4112942ba7..c14d989099ab 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatementWithTooManyBranches.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatementWithTooManyBranches.html @@ -1,6 +1,7 @@ This inspection reports switch statements with too many case labels. +

    Use the field provided below to specify the maximum number of case labels expected.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatementsWithoutDefault.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatementsWithoutDefault.html index 4f7ee8033a59..b72457267a5e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatementsWithoutDefault.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SwitchStatementsWithoutDefault.html @@ -2,6 +2,7 @@ This inspection reports switch statements that do not contain default labels. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizationOnLocalVariableOrMethodParameter.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizationOnLocalVariableOrMethodParameter.html index 6fdab03ebac1..ce5d0917e6f4 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizationOnLocalVariableOrMethodParameter.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizationOnLocalVariableOrMethodParameter.html @@ -4,6 +4,7 @@ This inspection reports synchronization on a local variable or parameter. Such synchronization has little effect, since different threads usually will have different values for the local variable or parameter. The intent of the code will usually be clearer if synchronization on a field is used. +

    New in 8, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizationOnStaticField.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizationOnStaticField.html index 2528144c95c6..e900fb788244 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizationOnStaticField.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizationOnStaticField.html @@ -2,6 +2,7 @@ This inspection reports synchronization on static fields. While not strictly incorrect, synchronization on static fields can lead to bad performance because of contention. +

    New in 10, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizeOnLock.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizeOnLock.html index 4dc7d1055299..38460cea82f7 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizeOnLock.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizeOnLock.html @@ -4,6 +4,7 @@ This inspection reports any synchronized block which locks on an instance of java.util.concurrent.locks.Lock. Such synchronization is almost certainly inadvertent, and appropriate versions of .lock() and .unlock() should be used instead. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizeOnNonFinalField.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizeOnNonFinalField.html index f3841b350d7e..14b803f42b11 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizeOnNonFinalField.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizeOnNonFinalField.html @@ -3,6 +3,7 @@ This inspection reports synchronized statements where the lock expression is a reference to a non-final field. Such statements are unlikely to have useful semantics, as different threads may be locking on different objects even when operating on the same object. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizeOnThis.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizeOnThis.html index 6926ab3459a5..045752aa4d61 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizeOnThis.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizeOnThis.html @@ -7,6 +7,7 @@ blocks which lock this, and calls to wait(), Such constructs, like synchronized methods, make it hard to track just who is locking on a given object, and make possible "denial of service" attacks on objects. As an alternative, consider locking on a private instance variable, access to which can be completely controlled. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizedMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizedMethod.html index 9bb2c0aecc52..bd3f1b107813 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizedMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizedMethod.html @@ -2,6 +2,7 @@ This inspection reports any use of the synchronized modifier on methods. Some coding standards prohibit the use of the synchronized modifier, in favor of synchronized statements. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizedOnLiteralObject.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizedOnLiteralObject.html index 5bca75b85c63..36c0ea7aaf3f 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizedOnLiteralObject.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SynchronizedOnLiteralObject.html @@ -7,6 +7,7 @@ Because of this, it is possible that some other part of the system which uses an object initialized with the same literal, is actually holding a reference to the exact same object. This can create unexpected dead-lock situations, if the lock object was thought to be private. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SystemExit.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SystemExit.html index 3eda6122f4e8..cf699cbf431c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SystemExit.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SystemExit.html @@ -3,6 +3,7 @@ This inspection reports the calls to System.exit(), Runtime.exit(), or Runtime.halt(). Calls to these methods make the calling code unportable to most application servers. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SystemGC.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SystemGC.html index faf7e7660e8f..02e14addcc01 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SystemGC.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SystemGC.html @@ -3,6 +3,7 @@ This inspection reports any call of System.gc() or Runtime.gc(). While occasionally useful in testing, explicitly triggering garbage collection via System.gc() is almost always a bad idea in production code, and can result in serious performance problems. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SystemGetenv.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SystemGetenv.html index b7c20f347ce0..b04007533c7b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SystemGetenv.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SystemGetenv.html @@ -2,6 +2,7 @@ This inspection reports the calls to System.getenv(). Calls to System.getenv() are inherently unportable. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SystemOutErr.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SystemOutErr.html index 444d359bb8a5..706854f9c1ab 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SystemOutErr.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SystemOutErr.html @@ -3,6 +3,7 @@ This inspection reports any uses of System.out or System.err. These are often temporary debugging statements, and should probably be either removed from production code, or replaced by a more robust logging facility. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SystemProperties.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SystemProperties.html index e387da2e6ca7..6e2e02a39176 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SystemProperties.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SystemProperties.html @@ -3,6 +3,7 @@ This inspection reports any accesses of the System properties. While accessing the System properties is not a security risk in it self, it is often found in malicious code. Accesses to System properties should be closely examined in any security audit. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SystemRunFinalizersOnExit.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SystemRunFinalizersOnExit.html index 05f30a6f6918..97c8ec68144c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SystemRunFinalizersOnExit.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SystemRunFinalizersOnExit.html @@ -4,6 +4,7 @@ This inspection reports any calls to System.runFinalizersOnExit(). This call is one of the most dangerous in the Java language. It is inherently non-thread-safe, may result in data corruption, deadlock, and may effect parts of the program far removed from its call point. It is deprecated, and its use strongly discouraged. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SystemSetSecurityManager.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SystemSetSecurityManager.html index a84352d3aa4c..d4a0c26ab913 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SystemSetSecurityManager.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SystemSetSecurityManager.html @@ -2,6 +2,7 @@ This inspection reports any calls to System.setSecurityManager(). While often benign, any call to System.setSecurityManager() should be closely examined in any security audit. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TailRecursion.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TailRecursion.html index 23e42bef6a48..4a737f1b88bc 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TailRecursion.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TailRecursion.html @@ -4,6 +4,7 @@ This inspection reports tail recursion, that is when a method calls itself as its last action before returning. Tail recursion can always be replaced by looping, which will be considerably faster. Some JVMs perform this optimization, while others do not. Thus, tail recursive solutions may have considerably different performance characteristics on different virtual machines. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TeardownCallsSuperTeardown.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TeardownCallsSuperTeardown.html index cf3f8b6056ec..d5f48f3936ce 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TeardownCallsSuperTeardown.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TeardownCallsSuperTeardown.html @@ -2,6 +2,7 @@ This inspection reports JUnit classes whose tearDown() method does not call super.tearDown(). +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TeardownIsPublicVoidNoArg.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TeardownIsPublicVoidNoArg.html index 94d20775c287..0f1cfd47076c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TeardownIsPublicVoidNoArg.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TeardownIsPublicVoidNoArg.html @@ -5,6 +5,7 @@ is not declared public, does not return void, or takes arguments. Such tearDown() methods are easy to create inadvertently, and will not be executed by JUnit tests runners. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TestCaseInProductCode.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TestCaseInProductCode.html index c5b611dfd3d9..063aef3522d1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TestCaseInProductCode.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TestCaseInProductCode.html @@ -3,6 +3,7 @@ This inspection reports JUnit test cases in product source trees. This most likely indicates programmer error, and can result in test code being shipped into production. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TestCaseWithConstructor.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TestCaseWithConstructor.html index 2fc9edf50873..10d0de30eb35 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TestCaseWithConstructor.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TestCaseWithConstructor.html @@ -2,6 +2,7 @@ This inspection reports on JUnit test cases with initialization logic in their constructors. Initialization of JUnit test cases should be done in setUp() methods instead. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TestCaseWithNoTestMethods.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TestCaseWithNoTestMethods.html index 9d0f4f3cd1a9..ce6f0b32f7f2 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TestCaseWithNoTestMethods.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TestCaseWithNoTestMethods.html @@ -2,6 +2,7 @@ This inspection reports non-abstract JUnit test cases which do not contain any test methods. Such test cases usually indicate developer error. +

    Use the checkbox below to specify that test cases which have super classes with test methods should be ignored by this inspection. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TestMethodInProductCode.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TestMethodInProductCode.html index b38f0a72fa52..99d6349b085d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TestMethodInProductCode.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TestMethodInProductCode.html @@ -3,6 +3,7 @@ This inspection reports JUnit 4.0 @Test methods in product source trees. This most likely indicates programmer error, and can result in test code being shipped into production. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TestMethodIsPublicVoidNoArg.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TestMethodIsPublicVoidNoArg.html index 56a900f14114..08e9c44761ae 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TestMethodIsPublicVoidNoArg.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TestMethodIsPublicVoidNoArg.html @@ -5,6 +5,7 @@ This inspection reports any JUnit test methods whose names which are not declare void, or take arguments. Such test methods are easy to create inadvertently, but will not be executed by JUnit test runners. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TestMethodWithoutAssertion.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TestMethodWithoutAssertion.html index e818584c3706..34f56927ee49 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TestMethodWithoutAssertion.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TestMethodWithoutAssertion.html @@ -4,6 +4,7 @@ This inspection reports any test methods of JUnit test case classes which do not any assertions. Such methods indicate either incomplete or weak test cases. The table below can be used to specify which class name, method name regular expression combinations qualify as assertions. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TextLabelInSwitchStatement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TextLabelInSwitchStatement.html index e2c2a0bc8f35..b24219f71504 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TextLabelInSwitchStatement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TextLabelInSwitchStatement.html @@ -11,6 +11,7 @@ While occasionally intended, this construction is often the result of a typo. break; } +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ThisEscapedInConstructor.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ThisEscapedInConstructor.html index d9beb96f1edf..3ed3ec28e496 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ThisEscapedInConstructor.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ThisEscapedInConstructor.html @@ -5,6 +5,7 @@ during object construction. Escapes occur when this is used as a method argument or the object of an assignment in a constructor or initializer. Such escapes may result in subtle bugs, as the object is now available in a context in which it is not guaranteed to be initialized. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadDeathRethrown.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadDeathRethrown.html index 7f0e1716f6b5..6c86eaccf6f1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadDeathRethrown.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadDeathRethrown.html @@ -2,6 +2,7 @@ This inspection reports try statements which catch java.lang.ThreadDeath which do not rethrow the exception. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadDumpStack.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadDumpStack.html index 84ed7e7766ae..991ea1e90333 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadDumpStack.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadDumpStack.html @@ -3,6 +3,7 @@ This inspection reports any uses Thread.dumpStack(). These are often temporary debugging statements, and should probably be either removed from production code, or replaced by a more robust logging facility. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadLocalNotStaticFinal.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadLocalNotStaticFinal.html index 897b49000675..c99538daad50 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadLocalNotStaticFinal.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadLocalNotStaticFinal.html @@ -5,6 +5,7 @@ associates state with a thread. A non-static non-final java.lang.ThreadLocal field associates state with an instance-thread combination. This is seldom necessary and often a bug which can cause memory leaks and possibly incorrect behavior. +

    This inspection has a quick fix to make the field static final

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadPriority.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadPriority.html index 3024761e0017..28f7897722f7 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadPriority.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadPriority.html @@ -4,6 +4,7 @@ This inspection reports any calls to Thread.setPriority(). Modifying priorities of threads is an inherently non-portable operation, as no guarantees are given in the Java specification of how priorities are used in scheduling threads, or even if they are used at all. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadRun.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadRun.html index 113d710c92d3..f32f56e74569 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadRun.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadRun.html @@ -2,6 +2,7 @@ This inspection reports any calls to run() on java.lang.Thread or any of its subclasses. While occasionally intended, this is usually a mistake, with start() intended instead. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadStartInConstruction.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadStartInConstruction.html index b4cf4756159a..5945b01b8ad9 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadStartInConstruction.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadStartInConstruction.html @@ -4,6 +4,7 @@ This inspection reports any calls to start() on java.lang.Thread or any of its subclasses during object construction. While occasionally useful, this construct should be avoided due to inheritance issues. Subclasses of a class which launches a thread during object construction will not have finished any initialization logic of their own before the thread has launched. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadStopSuspendResume.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadStopSuspendResume.html index 793e9d6f039f..573ab22b46f3 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadStopSuspendResume.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadStopSuspendResume.html @@ -4,6 +4,7 @@ This inspection reports any calls to Thread.stop(), Thread.suspend(), or Thread.resume(). These calls are inherently prone to data corruption and deadlock, and their use is strongly discouraged. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadWithDefaultRunMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadWithDefaultRunMethod.html index b12f3725f4a4..038bd8e98e69 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadWithDefaultRunMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadWithDefaultRunMethod.html @@ -3,6 +3,7 @@ This inspection reports Thread instances being created without specifying a Runnable parameter or overriding the run() method. Such threads do nothing useful. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadYield.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadYield.html index df4e41dea5c9..a949f32ff4da 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadYield.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ThreadYield.html @@ -3,6 +3,7 @@ This inspection reports any calls to Thread.yield(). Thread.yield() has no useful guaranteed semantics, and is often used by inexperienced programmers to mask race conditions. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ThreeNegationsPerMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ThreeNegationsPerMethod.html index 90ddf6265e62..9a3e7ee280bd 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ThreeNegationsPerMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ThreeNegationsPerMethod.html @@ -2,6 +2,7 @@ This inspection reports methods with three or more negation operations (! or !=). Such methods may be unnecessarily confusing. +

    Use the checkbox below to disable this inspection within 'equals()' methods.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowCaughtLocally.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowCaughtLocally.html index f5b8272dbe2b..b3ef4bed1d4b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowCaughtLocally.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowCaughtLocally.html @@ -3,6 +3,7 @@ This inspection reports throw statements whose exceptions are always caught by containing try statements. Using throw statements as a "goto" to change the local flow of control is both confusing and likely to have poor performance. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowFromFinallyBlock.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowFromFinallyBlock.html index 0035c4f4181b..85692daf4b99 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowFromFinallyBlock.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowFromFinallyBlock.html @@ -3,6 +3,7 @@ This inspection reports throw statements inside of finally blocks. While occasionally intended, such throw statements may mask exceptions thrown, and tremendously complicate debugging. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowableInstanceNeverThrown.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowableInstanceNeverThrown.html index 3a879fc29b7a..b9aa1e7901af 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowableInstanceNeverThrown.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowableInstanceNeverThrown.html @@ -3,6 +3,7 @@ This inspection reports Throwable instantiation, where the created Throwable is never actually thrown. Most often this is the result of a simple mistake. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowablePrintStackTrace.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowablePrintStackTrace.html index 63a697fb4888..a9ab15769727 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowablePrintStackTrace.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowablePrintStackTrace.html @@ -3,6 +3,7 @@ This inspection reports any uses Throwable.printStackTrace() without arguments. These are often temporary debugging statements, and should probably be either removed from production code, or replaced by a more robust logging facility. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowableResultOfMethodCallIgnored.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowableResultOfMethodCallIgnored.html index fd9f7e733bc3..c5a44ce50f07 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowableResultOfMethodCallIgnored.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowableResultOfMethodCallIgnored.html @@ -4,6 +4,7 @@ This inspection reports calls to specific methods where the result of the call is ignored and which return an object of type (or subtype of) Throwable. Usually these types of methods are meant as factory methods for exceptions and the result should be thrown. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ThrownExceptionsPerMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ThrownExceptionsPerMethod.html index f00a4298bba5..6cb190314d65 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ThrownExceptionsPerMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ThrownExceptionsPerMethod.html @@ -3,6 +3,7 @@ This inspection reports methods that are declared as throwing too many different types of exceptions. Methods with too many exceptions declared are a good sign that your error handling code is getting overly complex. +

    Use the field provided below to specify the maximum acceptable number of throw clauses a method might have.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowsRuntimeException.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowsRuntimeException.html index b15f6435c02f..9bb58d7d9e41 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowsRuntimeException.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ThrowsRuntimeException.html @@ -2,6 +2,7 @@ This inspection reports declarations of unchecked exceptions (RuntimeException and its subclasses) in the throws clause of a method. Declaration of unchecked exceptions are not required and may be removed. +

    New in 11, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TimeToString.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TimeToString.html index f9ec73c13bc0..da7ada1317de 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TimeToString.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TimeToString.html @@ -2,6 +2,7 @@ This inspection reports any call of toString() on java.sql.Time objects. Such calls are usually incorrect in an internationalized environment. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ToArrayCallWithZeroLengthArrayArgument.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ToArrayCallWithZeroLengthArrayArgument.html index 1c22f7e9c842..2bc010028e50 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ToArrayCallWithZeroLengthArrayArgument.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ToArrayCallWithZeroLengthArrayArgument.html @@ -6,6 +6,7 @@ with a zero-length array argument. When passing in an array of too small size, t toArray() method has to construct a new array of the right size using reflection. This has significantly worse performance than passing in an array of at least the size of the collection itself. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TodoComment.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TodoComment.html index a734e65dbaaa..0bd6e18b4dae 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TodoComment.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TodoComment.html @@ -4,6 +4,7 @@ This inspection reports "TODO" comments in your code. Format of "TODO" comments is configurable via the Settings | TODO panel. Since IDEA already provides syntax highlighting for "TODO" comments, it is expected that this will largely be used in batch mode. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TooBroadCatch.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TooBroadCatch.html index 8b5e20ed78ea..3886d90dcb5d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TooBroadCatch.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TooBroadCatch.html @@ -2,6 +2,7 @@ This inspection reports catch blocks which have parameters which are more generic than the exceptions thrown by the corresponding try block. +

    Use the first checkbox below to have this inspection only warn on the most generic exceptions.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TooBroadScope.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TooBroadScope.html index 61fcab875232..afba3f269bc2 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TooBroadScope.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TooBroadScope.html @@ -3,6 +3,7 @@ This inspection reports any variable declarations of which the scope can be narrowed. Especially useful for "Pascal style" declarations at the start of a method, but variables with too broad a scope are also often left over after refactorings. +

    Use the checkbox below to enable this inspection to report variables which are initialized with a call to a constructor. This makes the inspection potentially unsafe in cases where the diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TransientFieldInNonSerializableClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TransientFieldInNonSerializableClass.html index 148683a7c9c6..3da13577232e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TransientFieldInNonSerializableClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TransientFieldInNonSerializableClass.html @@ -1,6 +1,7 @@ This inspection reports transient fields in non-Serializable classes. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TransientFieldNotInitialized.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TransientFieldNotInitialized.html index 2d0af00f0450..4f11ed9057b0 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TransientFieldNotInitialized.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TransientFieldNotInitialized.html @@ -8,6 +8,7 @@ to be initialized separately in a readObject method during deserialization. Any transient fields which are not initialized during normal object construction are considered to use the default initialization and are not reported by this inspection. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TrivialIf.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TrivialIf.html index 07d0e1fc40d5..28a8dcb2f88e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TrivialIf.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TrivialIf.html @@ -15,6 +15,7 @@ can be simplified to

         return foo();
     
    +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TrivialStringConcatenation.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TrivialStringConcatenation.html index e7d340137a71..cafc4c79ead8 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TrivialStringConcatenation.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TrivialStringConcatenation.html @@ -3,6 +3,7 @@ This inspection reports string concatenations where one of the arguments is the empty string. Such a concatenation is unnecessary and inefficient, particularly when used as an idiom for formatting non-String objects or primitives into Strings. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TryFinallyCanBeTryWithResources.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TryFinallyCanBeTryWithResources.html index 0cea3957fe4c..09a61fc3e264 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TryFinallyCanBeTryWithResources.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TryFinallyCanBeTryWithResources.html @@ -6,6 +6,7 @@ statement into a try with resources statement.

    This inspection only reports if the project or module is configured to use a language level of 7.0 or higher. +

    New in 10.5, Powered by InspectionGadgets \ No newline at end of file diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TryWithIdenticalCatches.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TryWithIdenticalCatches.html index a72356b31c78..1af3727458ed 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TryWithIdenticalCatches.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TryWithIdenticalCatches.html @@ -5,6 +5,7 @@ a multi-catch section.

    This inspection only reports if the project or module is configured to use a language level of 7.0 or higher. +

    New in 10.5, Powered by InspectionGadgets \ No newline at end of file diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TypeMayBeWeakened.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TypeMayBeWeakened.html index ba0cae8c8001..b1432d192d54 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TypeMayBeWeakened.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TypeMayBeWeakened.html @@ -4,6 +4,7 @@ This inspection reports any variables which may be declared with a weaker type. a variable may be of type ArrayList, and only the method isEmpty() is called on it. In this case the type List would do just as well. +

    Enable the first checkbox below to prevent weakening the left side of assignments when the right side is not a type cast or new expression. When storing the result of a method call in a variable, it is diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TypeParameterExtendsFinalClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TypeParameterExtendsFinalClass.html index b18d17e10319..33ce8fc8f4f0 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TypeParameterExtendsFinalClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TypeParameterExtendsFinalClass.html @@ -3,6 +3,7 @@ This inspection reports any type parameters declared to extend a final class. Since final classes cannot be extended, the type parameter could be replaced with the type of the specified final class. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TypeParameterExtendsObject.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TypeParameterExtendsObject.html index d5774c1d3b71..331cc6e30a78 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TypeParameterExtendsObject.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TypeParameterExtendsObject.html @@ -1,6 +1,7 @@ This inspection reports any type parameters explicitly declared to extend java.lang.Object. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TypeParameterHidesVisibleType.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TypeParameterHidesVisibleType.html index 9254559a8f38..eee84bde3165 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TypeParameterHidesVisibleType.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TypeParameterHidesVisibleType.html @@ -2,6 +2,7 @@ This inspection reports type parameters being named identically to visible types in the current scope. Such a parameter name may be confusing. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/TypeParameterNamingConvention.html b/plugins/InspectionGadgets/src/inspectionDescriptions/TypeParameterNamingConvention.html index d2d5a416ec7b..b62686856a63 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/TypeParameterNamingConvention.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/TypeParameterNamingConvention.html @@ -2,6 +2,7 @@ This inspection reports type parameters whose names are either too short, too long, or do not follow the specified regular expression pattern. +

    Use the fields provided below to specify minimum length, maximum length and regular expression expected for type parameter names. (Regular expressions are in standard java.util.regex format.) diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnaryPlus.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnaryPlus.html index abf0c54ced4b..ab80c36d2d45 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnaryPlus.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnaryPlus.html @@ -2,6 +2,7 @@ This inspection reports any uses of the unary '+' operator. Unary plus is a null operation, and its presence may represent a coding error, particularly in combination with the increment operator, '++'. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UncheckedExceptionClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UncheckedExceptionClass.html index 84b2e4bbbf18..948575118ee7 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UncheckedExceptionClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UncheckedExceptionClass.html @@ -2,6 +2,7 @@ This inspection reports unchecked exception classes (i.e. subclasses of RuntimeException). Certain coding standards require that all user-defined exception classes be checked. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnclearBinaryExpression.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnclearBinaryExpression.html index 8d225a594857..0ae379004d08 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnclearBinaryExpression.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnclearBinaryExpression.html @@ -3,6 +3,7 @@ This inspection reports binary expressions consisting of multiple terms with different operators without parentheses. Such expressions can be unclear because not every developer is intimately familiar with all the precedence rules of the different operators. This inspection has a quickfix which adds clarifying parentheses. +

    New in 11, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnconditionalWait.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnconditionalWait.html index a180b72e0242..f6256660a488 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnconditionalWait.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnconditionalWait.html @@ -8,6 +8,7 @@ is called unconditionally, that often indicates that the condition was checked b acquired. In that case a data race may occur, with the condition becoming true between the time it was checked and the time the lock was acquired. While constructs found by this inspection are not necessarily incorrect, they are certainly worth examining. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnconstructableTestCase.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnconstructableTestCase.html index d0b4974d8be6..1b03e626285c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnconstructableTestCase.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnconstructableTestCase.html @@ -4,6 +4,7 @@ This inspection reports non-abstract JUnit test cases which do not expose a public no-arg constructor or a public constructor which takes a single string as an argument. Such test cases will be unrunnable by most JUnit test runners, including IDEA's. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarilyQualifiedInnerClassAccess.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarilyQualifiedInnerClassAccess.html index d29db28c7692..cb3fc83052b3 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarilyQualifiedInnerClassAccess.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarilyQualifiedInnerClassAccess.html @@ -3,6 +3,7 @@ This inspection reports any references to inner classes which are unnecessarily qualified with the name of the enclosing class. Such qualification is unnecessary, and may be safely removed. This may require the addition of an import for the inner class. +

    Use the checkbox below to ignore references to inner classes where the removal of the qualification would require the addition of an import. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarilyQualifiedStaticUsage.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarilyQualifiedStaticUsage.html index 9e17979398a5..d98a34bd3f78 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarilyQualifiedStaticUsage.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarilyQualifiedStaticUsage.html @@ -3,6 +3,7 @@ This inspection reports calls to static methods or accesses of static fields on the current class which are qualified with the class name. Such qualification is unnecessary, and may be safely removed. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarilyQualifiedStaticallyImportedElement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarilyQualifiedStaticallyImportedElement.html index 0330d96f622f..0dc768bc3878 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarilyQualifiedStaticallyImportedElement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarilyQualifiedStaticallyImportedElement.html @@ -3,6 +3,7 @@ This inspection reports any references to static members which are statically imported and also qualified with their containing class name. Because the elements are already statically imported such qualification is unnecessary and can be removed. +

    New in 10, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryBlockStatement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryBlockStatement.html index f4f29be79764..1eb2f2f6e582 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryBlockStatement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryBlockStatement.html @@ -4,6 +4,7 @@ This inspection reports code blocks which are unnecessary to the semantics of th be replaced by their contents. Code blocks which are the bodies of if, do, while or for statements will not be reported by this inspection. +

    Use the checkbox below if you wish this inspection to ignore code blocks which are used as branches of switch statements.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryBoxing.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryBoxing.html index 7dc8ecb98c85..bbfa5f157d48 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryBoxing.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryBoxing.html @@ -5,6 +5,7 @@ Boxing is unnecessary under Java 5 and newer, and can be safely removed.

    This inspection only reports if the project or module is configured to use a language level of 5.0 or higher. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryCallToStringValueOf.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryCallToStringValueOf.html index 8da882fb6eab..c31d5c548b0d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryCallToStringValueOf.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryCallToStringValueOf.html @@ -3,6 +3,7 @@ This inspection reports on any calls to String.valueOf() used in string concatenations. The conversion to string is handled automatically by the compiler without a call to String.valueOf(), making it unnecessary. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryConditionalExpression.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryConditionalExpression.html index c5b594593c49..b2dfaca4f705 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryConditionalExpression.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryConditionalExpression.html @@ -3,6 +3,7 @@ This inspection reports conditional expressions of the form condition?true:false or condition?false:true. These expressions may be safely simplified to condition or !condition, respectively. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryConstantArrayCreationExpression.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryConstantArrayCreationExpression.html index 7074bddef73b..0cd642ec5a6c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryConstantArrayCreationExpression.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryConstantArrayCreationExpression.html @@ -4,6 +4,7 @@ This inspection reports any constant new array expression which can be replaced with an array initializer. Array initializers omit the type declaration because that is already specified by the declaration of the variable the expression is assigned to. +

    New in 8, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryConstructor.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryConstructor.html index 362650071dd1..f0730702a750 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryConstructor.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryConstructor.html @@ -4,6 +4,7 @@ This inspection reports unnecessary empty constructors without parameters with t access modifiers as their containing class. If such a constructor is the only constructor for a class and performs no initialization, it can be safely removed. +

    Use the checkbox below to ignore unnecessary constructors which have an annotation.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryContinue.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryContinue.html index 0ff662a669fa..7390e671e90a 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryContinue.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryContinue.html @@ -4,6 +4,7 @@ This inspection reports on any unnecessary continue statements at the end These may be safely removed.

    At present, this inspection is disabled in JSP files. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryDefault.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryDefault.html index d62442e63669..8729e528d1da 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryDefault.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryDefault.html @@ -4,6 +4,7 @@ This inspection reports switch statements with default branches which can never be taken. At present, such branches are only marked for switch statements over enumerated types all of whose values have corresponding case branches. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryEnumModifier.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryEnumModifier.html index b9121d12bd43..dd5d87692452 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryEnumModifier.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryEnumModifier.html @@ -2,6 +2,7 @@ This inspection reports on any redundant modifiers on enumerated classes or components of enumerated classes. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryExplicitNumericCast.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryExplicitNumericCast.html index 0330989c2cff..3a982e7833e8 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryExplicitNumericCast.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryExplicitNumericCast.html @@ -2,6 +2,7 @@ This inspection reports any primitive numeric casts which would otherwise be inserted implicitly by the compiler. +

    New in 11, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryFinalOnLocalVariableOrParameter.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryFinalOnLocalVariableOrParameter.html index facd1c1d8821..63ede42070cc 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryFinalOnLocalVariableOrParameter.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryFinalOnLocalVariableOrParameter.html @@ -2,6 +2,7 @@ This inspection reports local variables or parameters unnecessarily declared final. Some coding standards frown on variables declared final, for reasons of terseness. +

    Use the first checkbox below to enable or disable warnings on local variables

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryFullyQualifiedName.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryFullyQualifiedName.html index ee351edc260d..74325ad91611 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryFullyQualifiedName.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryFullyQualifiedName.html @@ -2,6 +2,7 @@ This inspection reports on fully qualified class names which can be shortened. The quick fix for this inspection will shorten the fully qualified names, adding import statements as necessary. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryInheritDoc.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryInheritDoc.html index 8b3ae0b1bc88..6e0cf9a29e2d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryInheritDoc.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryInheritDoc.html @@ -5,6 +5,7 @@ This inspection reports any Javadoc comments which contain only the tag. Since Javadoc copies the super class' comment if no comment is present, a comment containing only an {@inheritDoc} adds nothing. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryInterfaceModifier.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryInterfaceModifier.html index cf591ca801eb..3e9597c94b79 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryInterfaceModifier.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryInterfaceModifier.html @@ -1,6 +1,7 @@ This inspection reports any redundant modifiers on interfaces or interface components. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryJavaDocLink.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryJavaDocLink.html index ea025d236e26..300766b02523 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryJavaDocLink.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryJavaDocLink.html @@ -6,6 +6,7 @@ tags which reference the method owning the comment, the super method of the method owning the comment or the class containing the comment. Such links are unnecessary and can be safely removed using this inspections quickfix. The quickfix will remove the entire Javadoc comment if the link is its only content. +

    Use the checkbox below to ignore inline links ({@link} and {@linkplain}) to super methods. While a link to all super methods is automatically added by the diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryLabelOnBreakStatement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryLabelOnBreakStatement.html index 9d6781904f8c..4efb7471702e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryLabelOnBreakStatement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryLabelOnBreakStatement.html @@ -2,6 +2,7 @@ This inspection reports break statements with unnecessary labels. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryLabelOnContinueStatement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryLabelOnContinueStatement.html index dbea21cffa93..873ba23dc40a 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryLabelOnContinueStatement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryLabelOnContinueStatement.html @@ -2,6 +2,7 @@ This inspection reports continue statements with unnecessary labels. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryLocalVariable.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryLocalVariable.html index a6fbb6d84c34..cfa7deb84430 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryLocalVariable.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryLocalVariable.html @@ -5,6 +5,7 @@ nothing to the comprehensibility of a method. Variables caught include local var which are immediately returned, local variables that are immediately assigned to another variable and then not used, and local variables which always have the same value as another local variable or parameter. +

    Use the checkbox below to have this inspection ignore variables which are immediately returned or thrown. Some coding styles suggest using such variables for clarity and diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryParentheses.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryParentheses.html index 81aebf79f491..aa4d3ad96e2d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryParentheses.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryParentheses.html @@ -3,11 +3,13 @@ This inspection reports on any instance of unnecessary parentheses. Parentheses are considered unnecessary if the evaluation order of an expression remains unchanged if the parentheses are removed. +

    Use the first checkbox below to ignore parentheses which help to clarify a binary expression. Parentheses are clarifying if the expression parenthesized is an instanceof expression part of a larger -expression or has a different operator than the parent expression.
    +expression or has a different operator than the parent expression. +

    Use the second checkbox below to ignore any parentheses around the condition of conditional expressions. Some coding standards specify that all such conditions must be surrounded by parentheses. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryQualifierForThis.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryQualifierForThis.html index 8b9874857c6e..e982a4d3f833 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryQualifierForThis.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryQualifierForThis.html @@ -6,6 +6,7 @@ disambiguate a code reference may easily become unnecessary via automatic refact

    Sample: OuterClass.this.foo(); +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryReturn.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryReturn.html index 6d810b1f1210..152899df400a 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryReturn.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryReturn.html @@ -4,6 +4,7 @@ This inspection reports on any unnecessary return statements at the end o void. These may be safely removed.

    At present, this inspection is disabled in JSP files. +

    Use the checkbox below to let this inspection ignore return statements in the then branch of if statements which also have an else branch. diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarySemicolon.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarySemicolon.html index 9454c0a20573..879e9b96624e 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarySemicolon.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarySemicolon.html @@ -2,6 +2,7 @@ This inspection reports on any unnecessary semicolons, whether between class members, inside block statements, or after class definitions. While valid Java, these semicolons are redundant, and may be removed. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarySuperConstructor.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarySuperConstructor.html index eff25ad94266..9d4e2aab3fab 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarySuperConstructor.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarySuperConstructor.html @@ -1,7 +1,8 @@ This inspection reports any no-argument calls to a superclass -constructor as the first call of a constructor. Such calls are unnecessary, and may be removed. +constructor as the first call of a constructor. Such calls are unnecessary, and may be removed.

    +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarySuperQualifier.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarySuperQualifier.html index c933c52e4ed2..a4cf972ee67c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarySuperQualifier.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessarySuperQualifier.html @@ -3,6 +3,7 @@ This inspection reports any unnecessary uses of the super qualifier in method calls and fields references. A super qualifier is unnecessary when the field or method of the super class is not overridden in the calling class. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryTemporaryOnConversionFromString.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryTemporaryOnConversionFromString.html index 2313f4ebe1c4..0ab695ddf467 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryTemporaryOnConversionFromString.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryTemporaryOnConversionFromString.html @@ -11,6 +11,7 @@ will be reported, and can be automatically converted to:

         Integer.valueOf("3")
     
    +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryTemporaryOnConversionToString.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryTemporaryOnConversionToString.html index b9d8ce6e4d85..af2b1331a8fc 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryTemporaryOnConversionToString.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryTemporaryOnConversionToString.html @@ -11,6 +11,7 @@ will be reported, and can be automatically converted to:

         Integer.toString(3)
     
    +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryThis.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryThis.html index 4121eefa9971..edba3d48f9ff 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryThis.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryThis.html @@ -7,6 +7,7 @@ by many coding styles.

    Sample: this.a=3; +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryUnaryMinus.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryUnaryMinus.html index cecc9c4e5e65..0286d37e5a72 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryUnaryMinus.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryUnaryMinus.html @@ -12,6 +12,7 @@ could be replaced by: i -= 8; i = i - 8; +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryUnboxing.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryUnboxing.html index 787d60a372cf..b98af0a7d398 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryUnboxing.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnnecessaryUnboxing.html @@ -5,6 +5,7 @@ Unboxing is unnecessary under Java 5 and newer, and can be safely removed.

    This inspection only reports if the project or module is configured to use a language level of 5.0 or higher. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnpredictableBigDecimalConstructorCall.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnpredictableBigDecimalConstructorCall.html index 8f20eb866200..d9f3a966c724 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnpredictableBigDecimalConstructorCall.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnpredictableBigDecimalConstructorCall.html @@ -5,6 +5,7 @@ constructors which accept a double value. These constructors can have somewhat unpredictable results because many numbers cannot be represented exactly in a double. It is recommend to use the constructors which accept a String instead. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnqualifiedFieldAccess.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnqualifiedFieldAccess.html index 626f33679f23..164729e83515 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnqualifiedFieldAccess.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnqualifiedFieldAccess.html @@ -4,6 +4,7 @@ This inspection reports on field accesses which are not qualified with this or some other qualifier. Some coding styles mandate that all field accesses are qualified to prevent confusion with local variable or parameter accesses. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnqualifiedInnerClassAccess.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnqualifiedInnerClassAccess.html index 77f370cfc018..86c99c69e360 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnqualifiedInnerClassAccess.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnqualifiedInnerClassAccess.html @@ -2,6 +2,7 @@ This inspection reports any references to inner classes which are not qualified with the name of the enclosing class. +

    Use the checkbox below to ignore references to local inner classes that do not require an import.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnqualifiedMethodAccess.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnqualifiedMethodAccess.html index ccc56963441a..8b14d83f4705 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnqualifiedMethodAccess.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnqualifiedMethodAccess.html @@ -1,6 +1,7 @@ This inspection reports calls to non-static methods of the same object which are not qualified with this. +

    New in 11, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnqualifiedStaticUsage.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnqualifiedStaticUsage.html index 3ab895719c0f..13e57f63fe03 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnqualifiedStaticUsage.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnqualifiedStaticUsage.html @@ -3,6 +3,7 @@ This inspection reports static method calls or field accesses that are not qualified with the class name of the static method. This is legal if the static method or field is in the same class as the call, but may be confusing. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnsecureRandomNumberGeneration.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnsecureRandomNumberGeneration.html index 3a4de91d5c02..6f8fdf35f552 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnsecureRandomNumberGeneration.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnsecureRandomNumberGeneration.html @@ -4,6 +4,7 @@ This inspection reports any uses of java.lang.Random or java.lang.math.Random(). In secure environments, java.secure.SecureRandom is a better choice, offering cryptographically secure random number generation. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnusedCatchParameter.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnusedCatchParameter.html index 202a563c522e..c3af86c3a805 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnusedCatchParameter.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnusedCatchParameter.html @@ -4,6 +4,7 @@ This inspection reports any catch parameters that are unused in their corresponding blocks. This inspection will not report any catch parameters named "ignore" or "ignored". Conversely this inspection will warn on any catch parameters named "ignore" or "ignored" that are actually used. +

    Use the first checkbox below to disable this inspection for catch blocks with comments.

    diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnusedImport.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnusedImport.html index 006d2d010600..958b156eeffd 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnusedImport.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnusedImport.html @@ -3,6 +3,7 @@ This inspection reports any import statements that are unused. Since IDEA can automatically detect and fix such statements with its "Optimize Imports" command, this inspection is mostly useful for off-line reporting on code bases that you don't intend to change. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UnusedLabel.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UnusedLabel.html index 2dc847c8e63d..f1a372a491cb 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UnusedLabel.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UnusedLabel.html @@ -1,6 +1,7 @@ This inspection reports unused code labels. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UpperCaseFieldNameNotConstant.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UpperCaseFieldNameNotConstant.html index 866060f2887e..752424cd4db5 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UpperCaseFieldNameNotConstant.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UpperCaseFieldNameNotConstant.html @@ -3,6 +3,7 @@ This inspection reports non-static non-final fields whose names are all upper-case. Such fields may cause confusion by breaking a common naming convention, and are often the result of developer error. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfAWTPeerClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfAWTPeerClass.html index e9e3ae57e032..591a5278d5fb 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfAWTPeerClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfAWTPeerClass.html @@ -3,6 +3,7 @@ This inspection reports any uses of concrete AWT peer classes. Such classes represent native windowing system widgets, and will be non-portable between different windowing systems. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfAnotherObjectsPrivateField.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfAnotherObjectsPrivateField.html index 3139fa12f405..afe8bff54fb4 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfAnotherObjectsPrivateField.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfAnotherObjectsPrivateField.html @@ -6,9 +6,11 @@ some coding styles discourage this use. Additionally, such direct access to priv may fail in component-oriented architectures such (e.g. Spring, Hibernate) which expect all access to other objects to be through method calls so as to allow the framework to mediate all access using proxies. +

    Use the first checkbox below to ignore accesses from the same class and only report accesses -from inner or outer classes.
    +from inner or outer classes. +

    Use the second checkbox below to ignore accesses from an equals() method.

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfJDBCDriverClass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfJDBCDriverClass.html index 43b52c42f4f2..cf5787091e96 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfJDBCDriverClass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfJDBCDriverClass.html @@ -3,6 +3,7 @@ This inspection reports any uses of concrete JDBC driver classes. Use of such classes will bind your project to a specific database and driver, defeating the purpose of JDBC and resulting in loss of portability. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfObsoleteAssert.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfObsoleteAssert.html index 8f75339f6c37..979c2889adef 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfObsoleteAssert.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfObsoleteAssert.html @@ -2,6 +2,7 @@ This inspection reports any calls to methods from the junit.framework.Assert class. This class is obsolete and the calls can be replaced by calls to methods from the org.junit.Assert class. +

    New in 11, Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfProcessBuilder.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfProcessBuilder.html index 730a515be8da..5edf75680e77 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfProcessBuilder.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfProcessBuilder.html @@ -2,6 +2,7 @@ This inspection reports the uses of java.lang.ProcessBuilder. Uses of ProcessBuilder are inherently unportable between operating systems. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfPropertiesAsHashtable.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfPropertiesAsHashtable.html index ee977c6de390..5fd9848b0a60 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfPropertiesAsHashtable.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfPropertiesAsHashtable.html @@ -6,6 +6,7 @@ methods put(), putAll() or For reasons lost to history, Properties inherits from Hashtable, but use of those methods is discouraged to prevent corruption of properties values with non-String data. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfSunClasses.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfSunClasses.html index 0a04bd4d2c32..68fc023bb80b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfSunClasses.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UseOfSunClasses.html @@ -2,6 +2,7 @@ This inspection reports any uses of classes from the sun.* hierarchy. Such classes are non-portable between different JVM's. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/UtilityClassWithPublicConstructor.html b/plugins/InspectionGadgets/src/inspectionDescriptions/UtilityClassWithPublicConstructor.html index 86630edc8ae0..c42215b0e090 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/UtilityClassWithPublicConstructor.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/UtilityClassWithPublicConstructor.html @@ -3,6 +3,7 @@ This inspection reports utility classes with public constructors. Utility classes have all fields and methods declared static. Giving such classes a public constructor is confusing, and may lead to the class being inadvertently instantiated. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/VarargParameter.html b/plugins/InspectionGadgets/src/inspectionDescriptions/VarargParameter.html index 186f04aecbb3..759c57484b67 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/VarargParameter.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/VarargParameter.html @@ -2,6 +2,7 @@ This inspection reports methods taking variable numbers of parameters. Such methods are not supported under Java 1.4 or earlier JVMs. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/VariableNotUsedInsideIf.html b/plugins/InspectionGadgets/src/inspectionDescriptions/VariableNotUsedInsideIf.html index 70e0009b14b2..4cc8c463dfd3 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/VariableNotUsedInsideIf.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/VariableNotUsedInsideIf.html @@ -2,10 +2,11 @@ This inspection reports any references to variables which are checked for nullity in the condition of an if statement or -conditional, expression but which are not used inside the +conditional expression but which are not used inside the if statement. Usually this either means that the check is unnecessary or that the variable is not referenced inside the if statement because of a typo. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/VolatileArrayField.html b/plugins/InspectionGadgets/src/inspectionDescriptions/VolatileArrayField.html index 0c21226e9b75..338ac01fb4bb 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/VolatileArrayField.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/VolatileArrayField.html @@ -5,6 +5,7 @@ which are declared as volatile. Such fields may be confusing, as accessing the array itself follows the rules for volatile fields, but accessing the array's contents does not. If such volatile access is needed to array contents, the JDK5.0 java.util.concurrent.atomic classes should be used instead. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/VolatileLongOrDoubleField.html b/plugins/InspectionGadgets/src/inspectionDescriptions/VolatileLongOrDoubleField.html index 84ce2b1649cd..ff4464bbd4c2 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/VolatileLongOrDoubleField.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/VolatileLongOrDoubleField.html @@ -4,6 +4,7 @@ This inspection reports fields of type long or double which are declared as volatile. While Java specifies that reads and writes from such fields are atomic, many JVM's have violated this specification. Unless you are certain of your JVM, it is better to synchronized access to such fields rather than declare them volatile. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/WaitCalledOnCondition.html b/plugins/InspectionGadgets/src/inspectionDescriptions/WaitCalledOnCondition.html index a4dd0429d212..901268c41da6 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/WaitCalledOnCondition.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/WaitCalledOnCondition.html @@ -4,6 +4,7 @@ This inspection reports on any call to wait() made on a java.util.concurrent.locks.Condition object. This is probably a programming error, and some variant of the await() method was intended instead. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/WaitNotInLoop.html b/plugins/InspectionGadgets/src/inspectionDescriptions/WaitNotInLoop.html index c8dd2ae9ea72..9f96d1a14b14 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/WaitNotInLoop.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/WaitNotInLoop.html @@ -3,6 +3,7 @@ This inspection reports on any call to wait() not made inside a loop. wait() is normally used to suspend a thread until a condition is true, and that condition should be checked after the wait() returns. A loop is the clearest way to achieve this. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/WaitNotInSynchronizedContext.html b/plugins/InspectionGadgets/src/inspectionDescriptions/WaitNotInSynchronizedContext.html index afa02ecd9933..46ef9780aeb3 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/WaitNotInSynchronizedContext.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/WaitNotInSynchronizedContext.html @@ -5,6 +5,7 @@ statement or synchronized method. Calling wait() on an object without holding a lock on that object will result in an IllegalMonitorStateException being thrown. Such a construct is not necessarily an error, as the necessary lock may be acquired before the containing method is called, but its worth looking at. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/WaitOrAwaitWithoutTimeout.html b/plugins/InspectionGadgets/src/inspectionDescriptions/WaitOrAwaitWithoutTimeout.html index 9f4939a6d0f1..b9427961f436 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/WaitOrAwaitWithoutTimeout.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/WaitOrAwaitWithoutTimeout.html @@ -6,6 +6,7 @@ component may result in blockages of the waiting component, if notify()/notifyAll() or signal()/signalAll() never get called. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/WaitWhileHoldingTwoLocks.html b/plugins/InspectionGadgets/src/inspectionDescriptions/WaitWhileHoldingTwoLocks.html index e53489649d91..8256b064cbc1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/WaitWhileHoldingTwoLocks.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/WaitWhileHoldingTwoLocks.html @@ -3,6 +3,7 @@ This inspection reports .wait() being called while the current thread is holding two locks. Since the call to .wait() only frees locks on the its target, waiting with two locks held can easily lead to deadlock. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/WaitWithoutCorrespondingNotify.html b/plugins/InspectionGadgets/src/inspectionDescriptions/WaitWithoutCorrespondingNotify.html index ad0d1ee50ac3..def93c7f20af 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/WaitWithoutCorrespondingNotify.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/WaitWithoutCorrespondingNotify.html @@ -4,6 +4,7 @@ This inspection reports on any call to Object.wait() for which no call to a corresponding Object.notify() or Object.notifyAll() can be found. Only calls which target fields of the current class are reported by this inspection. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/WhileCanBeForeach.html b/plugins/InspectionGadgets/src/inspectionDescriptions/WhileCanBeForeach.html index c7dca27fc5f2..f996f5e0a0bd 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/WhileCanBeForeach.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/WhileCanBeForeach.html @@ -6,6 +6,7 @@ which is available in Java 5 and newer.

    This inspection only reports if the project or module is configured to use a language level of 5.0 or higher. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/WhileLoopSpinsOnField.html b/plugins/InspectionGadgets/src/inspectionDescriptions/WhileLoopSpinsOnField.html index 86c79a3ffdc1..918d07712021 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/WhileLoopSpinsOnField.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/WhileLoopSpinsOnField.html @@ -6,6 +6,7 @@ extremely CPU intensive when little work is done inside the loop, such loops are likely have different semantics than intended, as the Java Memory Model allows such field accesses to be hoisted out of the loop, causing the loop to never complete even if another thread does change the field's value. +

    Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ZeroLengthArrayInitialization.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ZeroLengthArrayInitialization.html index d7b705c8a961..9dfaa8e94b12 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ZeroLengthArrayInitialization.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ZeroLengthArrayInitialization.html @@ -5,6 +5,7 @@ Java are non-modifiable, it is almost always possible to share zero-length array allocating new zero-length arrays. Such sharing may provide useful optimizations in program runtime or footprint. Note that this inspection does not report zero-length arrays allocated as static final fields, as it is assumed that those arrays are being used to implement array sharing. +

    Powered by InspectionGadgets