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