diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ArchaicSystemPropertyAccess.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ArchaicSystemPropertyAccess.html index 6d57758f5a64..77358237aa64 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ArchaicSystemPropertyAccess.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ArchaicSystemPropertyAccess.html @@ -1,6 +1,6 @@ -This inspection reports any calls to Integer.getInteger() or Boolean.getBoolean(). +This inspection reports any calls to Integer.getInteger() or Boolean.getBoolean(). 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 diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/BusyWait.html b/plugins/InspectionGadgets/src/inspectionDescriptions/BusyWait.html index 4d236e607be4..fbc3b07caa47 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/BusyWait.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/BusyWait.html @@ -1,6 +1,6 @@ -This inspection reports calls to java.lang.Thread.sleep() that occur inside loops. Such calls +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.

diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/ExceptionFromCatchWhichDoesntWrap.html b/plugins/InspectionGadgets/src/inspectionDescriptions/ExceptionFromCatchWhichDoesntWrap.html index 4bfa8605edd4..c2cd745e7937 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/ExceptionFromCatchWhichDoesntWrap.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/ExceptionFromCatchWhichDoesntWrap.html @@ -7,7 +7,7 @@ to wrap the initial exception, so that valuable context information such as stack frames and line numbers are not lost.

Use the 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()', +receive the result of a method call on the original exception, such as getMessage(), as an argument.

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleReturnPointsPerMethod.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleReturnPointsPerMethod.html index fabc3c7efa8f..fefef7e24a1d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleReturnPointsPerMethod.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MultipleReturnPointsPerMethod.html @@ -5,7 +5,7 @@ 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 -equals() methods should be ignored. +equals() methods should be ignored.

Powered by InspectionGadgets diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/OverridableMethodCallDuringObjectConstruction.html b/plugins/InspectionGadgets/src/inspectionDescriptions/OverridableMethodCallDuringObjectConstruction.html index 0ad7dde1d236..87eae0c1de43 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/OverridableMethodCallDuringObjectConstruction.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/OverridableMethodCallDuringObjectConstruction.html @@ -2,7 +2,7 @@ This inspection reports any calls of overridable methods of the current class during object construction. An object is constructed inside a constructor, an instance initializer or -inside a clone(), readObject() or readObjectNoData() method. +inside a clone(), readObject() or readObjectNoData() method. 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 diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/OverriddenMethodCallDuringObjectConstruction.html b/plugins/InspectionGadgets/src/inspectionDescriptions/OverriddenMethodCallDuringObjectConstruction.html index 9107b335f788..2938e527c360 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/OverriddenMethodCallDuringObjectConstruction.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/OverriddenMethodCallDuringObjectConstruction.html @@ -2,7 +2,7 @@ This inspection reports any calls of overridden methods of the current class during object construction. An object is constructed inside a constructor, an instance initializer or -inside a clone(), readObject() or readObjectNoData() method. +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.

diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantStringFormatCall.html b/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantStringFormatCall.html index ef2e8de9d387..c8ce59ee9a0d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantStringFormatCall.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/RedundantStringFormatCall.html @@ -1,6 +1,6 @@ -This inspection reports any calls to String.format() where only a format string is +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.

diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticCallOnSubclass.html b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticCallOnSubclass.html index 8671b2c0843f..07023fb9fd4c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/StaticCallOnSubclass.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/StaticCallOnSubclass.html @@ -2,7 +2,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 +(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