diff --git a/java/java-impl/src/inspectionDescriptions/CapturingCleaner.html b/java/java-impl/src/inspectionDescriptions/CapturingCleaner.html index 32b7b04e46d0..717792ddf3ed 100644 --- a/java/java-impl/src/inspectionDescriptions/CapturingCleaner.html +++ b/java/java-impl/src/inspectionDescriptions/CapturingCleaner.html @@ -1,8 +1,7 @@ -

This inspection reports Runnable passed to Cleaner.register() capturing reference that leads to memory leak. +This inspection reports Runnable passed to Cleaner.register() capturing reference that leads to memory leak. Possible sources of this problem: -

This inspection is available since Java 9 only.

-New in 2018.1 +

New in 2018.1

\ No newline at end of file diff --git a/java/java-impl/src/inspectionDescriptions/ClassGetClass.html b/java/java-impl/src/inspectionDescriptions/ClassGetClass.html index 376bb0d876df..261b8acc7ec6 100644 --- a/java/java-impl/src/inspectionDescriptions/ClassGetClass.html +++ b/java/java-impl/src/inspectionDescriptions/ClassGetClass.html @@ -1,9 +1,8 @@ -

Reports when getClass() method is called on java.lang.Class instance. This is usually a mistake as the result is +Reports when getClass() method is called on java.lang.Class instance. This is usually a mistake as the result is always equivalent to Class.class. If it's mistake then the getClass() call should be removed and qualifier should be used directly. If the behavior is intended, then it's better to write Class.class explicitly to avoid confusion. -

New in 2018.2

diff --git a/java/java-impl/src/inspectionDescriptions/ConstantExpression.html b/java/java-impl/src/inspectionDescriptions/ConstantExpression.html index 3b72ecee9b3a..79fd914ef947 100644 --- a/java/java-impl/src/inspectionDescriptions/ConstantExpression.html +++ b/java/java-impl/src/inspectionDescriptions/ConstantExpression.html @@ -2,6 +2,6 @@ Allows you to replace compile-time constant expression with its actual value (e.g. "2 + 2" with "4"). -New in 2018.1 +

New in 2018.1

\ No newline at end of file diff --git a/java/java-impl/src/inspectionDescriptions/ExplicitArgumentCanBeLambda.html b/java/java-impl/src/inspectionDescriptions/ExplicitArgumentCanBeLambda.html index 3ba9ba06ec39..bfbd18a8836c 100644 --- a/java/java-impl/src/inspectionDescriptions/ExplicitArgumentCanBeLambda.html +++ b/java/java-impl/src/inspectionDescriptions/ExplicitArgumentCanBeLambda.html @@ -5,6 +5,6 @@ which accepts lambda instead. Converting an expression to lambda ensures that ex if it happens to be unused inside the method. E.g. optional.orElse(createDefaultValue()) could be converted to optional.orElseGet(this::createDefaultValue). -New in 2018.1 +

New in 2018.1

\ No newline at end of file diff --git a/java/java-impl/src/inspectionDescriptions/FoldExpressionIntoStream.html b/java/java-impl/src/inspectionDescriptions/FoldExpressionIntoStream.html index cab65c38c28d..d32cdbc789ff 100644 --- a/java/java-impl/src/inspectionDescriptions/FoldExpressionIntoStream.html +++ b/java/java-impl/src/inspectionDescriptions/FoldExpressionIntoStream.html @@ -1,6 +1,6 @@ -

Reports expressions with repeating pattern which could be replaced with Stream API for String.join.

+Reports expressions with repeating pattern which could be replaced with Stream API for String.join.

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

New in 2018.2

diff --git a/java/java-impl/src/inspectionDescriptions/IdempotentLoopBody.html b/java/java-impl/src/inspectionDescriptions/IdempotentLoopBody.html index 68c62c3bd125..ce837f25026f 100644 --- a/java/java-impl/src/inspectionDescriptions/IdempotentLoopBody.html +++ b/java/java-impl/src/inspectionDescriptions/IdempotentLoopBody.html @@ -12,6 +12,6 @@ the program could stuck. Example: } -New in 2018.1 +

New in 2018.1

\ No newline at end of file diff --git a/java/java-impl/src/inspectionDescriptions/RedundantClassCall.html b/java/java-impl/src/inspectionDescriptions/RedundantClassCall.html index 39dca030ec6d..be8122d9512d 100644 --- a/java/java-impl/src/inspectionDescriptions/RedundantClassCall.html +++ b/java/java-impl/src/inspectionDescriptions/RedundantClassCall.html @@ -1,7 +1,7 @@ -

Reports redundant calls of java.lang.Class methods. E.g. Xyz.class.isInstance(object) could be replaced with object instanceof Xyz.

+Reports redundant calls of java.lang.Class methods. E.g. Xyz.class.isInstance(object) could be replaced with object instanceof Xyz. -New in 2018.2 +

New in 2018.2

\ No newline at end of file diff --git a/java/java-impl/src/inspectionDescriptions/RedundantExplicitClose.html b/java/java-impl/src/inspectionDescriptions/RedundantExplicitClose.html index f9243f54fe40..695ec009d401 100644 --- a/java/java-impl/src/inspectionDescriptions/RedundantExplicitClose.html +++ b/java/java-impl/src/inspectionDescriptions/RedundantExplicitClose.html @@ -2,6 +2,6 @@ Inspection reports unnecessary close of resource in the end of try-with-resources block -New in 2018.1 +

New in 2018.1

\ No newline at end of file diff --git a/java/java-impl/src/inspectionDescriptions/SuspiciousListRemoveInLoop.html b/java/java-impl/src/inspectionDescriptions/SuspiciousListRemoveInLoop.html index e38f1579429c..58435361fc5e 100644 --- a/java/java-impl/src/inspectionDescriptions/SuspiciousListRemoveInLoop.html +++ b/java/java-impl/src/inspectionDescriptions/SuspiciousListRemoveInLoop.html @@ -6,6 +6,6 @@ but probably removing via iterator or using removeIf method (si If you don't expect that remove will be called more than once in a loop, consider adding a break command after it. -

Since 2018.2

+

New in 2018.2

\ No newline at end of file diff --git a/java/java-impl/src/inspectionDescriptions/WrapperTypeMayBePrimitive.html b/java/java-impl/src/inspectionDescriptions/WrapperTypeMayBePrimitive.html index 513f572b7edc..73e41d1e7b63 100644 --- a/java/java-impl/src/inspectionDescriptions/WrapperTypeMayBePrimitive.html +++ b/java/java-impl/src/inspectionDescriptions/WrapperTypeMayBePrimitive.html @@ -1,7 +1,7 @@ -

This inspection reports local variable of wrapper type though all usages allowed to be primitive and count of unnecessary boxing/unboxing - operations reduces

+This inspection reports local variable of wrapper type though all usages allowed to be primitive and count of unnecessary boxing/unboxing + operations reduces

In some cases boxing can be source of significant performance penalty, especially in loops.

diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/CatchMayIgnoreException.html b/plugins/InspectionGadgets/src/inspectionDescriptions/CatchMayIgnoreException.html index 039ec1a4057f..c41617bd1985 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/CatchMayIgnoreException.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/CatchMayIgnoreException.html @@ -11,6 +11,6 @@ that catch block may silently ignore important VM exceptions like NullPointer Also catch parameters named "expected" or "ok" are not reported inside test sources.

-New in 2018.1 +

New in 2018.1

\ No newline at end of file diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableIfStatement.html b/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableIfStatement.html index 3fad6b09c5d7..742de6f3ee40 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableIfStatement.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/SimplifiableIfStatement.html @@ -12,6 +12,6 @@ Also this change may reduce compiled bytecode size which could be useful in some Use checkbox to skip warning when '?:' operator is suggested. In this case only '&&' and '||' suggestions will be highlighted. The fix action to replace with '?:' will still be available in the editor.

-Since 2018.2 +

New in 2018.2

\ No newline at end of file diff --git a/plugins/junit/src/inspectionDescriptions/JUnit5MalformedNestedClass.html b/plugins/junit/src/inspectionDescriptions/JUnit5MalformedNestedClass.html index d9e8e9e15a59..9ea3394580e8 100644 --- a/plugins/junit/src/inspectionDescriptions/JUnit5MalformedNestedClass.html +++ b/plugins/junit/src/inspectionDescriptions/JUnit5MalformedNestedClass.html @@ -4,5 +4,6 @@ Reports static inner classes annotated with @Nested.

New in 2018.2 +

\ No newline at end of file