diff --git a/resources-en/src/inspectionDescriptions/AnonymousHasLambdaAlternative.html b/resources-en/src/inspectionDescriptions/AnonymousHasLambdaAlternative.html index 9c591f6ce390..976f31ad593f 100644 --- a/resources-en/src/inspectionDescriptions/AnonymousHasLambdaAlternative.html +++ b/resources-en/src/inspectionDescriptions/AnonymousHasLambdaAlternative.html @@ -7,6 +7,6 @@ Reports anonymous classes which could be transformed to constructor or factory m
  • Thread anonymous classes having run() method (could be replaced with new Thread(Runnable)
  • -

    New in 2016.3 +

    New in 2016.3

    \ No newline at end of file diff --git a/resources-en/src/inspectionDescriptions/ComparatorCombinators.html b/resources-en/src/inspectionDescriptions/ComparatorCombinators.html index 8c5d58061971..57b47d08bcd8 100644 --- a/resources-en/src/inspectionDescriptions/ComparatorCombinators.html +++ b/resources-en/src/inspectionDescriptions/ComparatorCombinators.html @@ -1,10 +1,10 @@ -Inspection looks for Comparators defined as lambda expressions which could be expressed using +Reports Comparators defined as lambda expressions which could be expressed using methods like Comparator.comparing().

    Some comparators like (person1, person2) -> person1.getName().compareTo(person2.getName()) could be simplified like this: Comparator.comparing(Person::getName).

    -

    New in 2016.3 +

    New in 2016.3

    \ No newline at end of file diff --git a/resources-en/src/inspectionDescriptions/ExcessiveLambdaUsage.html b/resources-en/src/inspectionDescriptions/ExcessiveLambdaUsage.html index 7fb2553f5e6a..8f83a2ec6a53 100644 --- a/resources-en/src/inspectionDescriptions/ExcessiveLambdaUsage.html +++ b/resources-en/src/inspectionDescriptions/ExcessiveLambdaUsage.html @@ -1,7 +1,7 @@ -This inspection warns if trivial lambda expression is used where there's an alternative method which behaves the same way but -accepts concrete value instead of lambda. +Reports if trivial lambda expression is used where there's an alternative method which behaves the same way, but +accepts a concrete value instead of a lambda.

    For example, Optional.orElseGet(() -> null) can be replaced with Optional.orElse(null).

    diff --git a/resources-en/src/inspectionDescriptions/InvalidComparatorMethodReference.html b/resources-en/src/inspectionDescriptions/InvalidComparatorMethodReference.html index 75cb5857d08d..3a1edb31bccf 100644 --- a/resources-en/src/inspectionDescriptions/InvalidComparatorMethodReference.html +++ b/resources-en/src/inspectionDescriptions/InvalidComparatorMethodReference.html @@ -1,6 +1,6 @@ -This inspection reports method references mapped to Comparator interface which don't fulfill its contract. +Reports method references mapped to Comparator interface which don't fulfill its contract.

    Some method references like Integer::max can be mapped to Comparator interface. However using them as Comparator is useless and result might be unpredictable. diff --git a/resources-en/src/inspectionDescriptions/Java8ArraySetAll.html b/resources-en/src/inspectionDescriptions/Java8ArraySetAll.html index 719222fe3bdc..98b2a07e5015 100644 --- a/resources-en/src/inspectionDescriptions/Java8ArraySetAll.html +++ b/resources-en/src/inspectionDescriptions/Java8ArraySetAll.html @@ -1,7 +1,7 @@ -This inspection looks for loops which could be replaced with Arrays.setAll() call. -

    The loops like this are reported:

    +Reports loops which could be replaced with Arrays.setAll() call. +

    For example:

       for (int i=0; i<array.length; i++) {
          array[i] = calc(i);
    @@ -9,6 +9,6 @@ This inspection looks for loops which could be replaced with Arrays.setAll
     

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

    -

    New in 2017.1 +

    New in 2017.1

    \ No newline at end of file diff --git a/resources-en/src/inspectionDescriptions/Java8CollectionRemoveIf.html b/resources-en/src/inspectionDescriptions/Java8CollectionRemoveIf.html index 6667a5887c49..e1f7f392b308 100644 --- a/resources-en/src/inspectionDescriptions/Java8CollectionRemoveIf.html +++ b/resources-en/src/inspectionDescriptions/Java8CollectionRemoveIf.html @@ -1,7 +1,7 @@ -The inspection reports the loops which could be collapsed into single Collection.removeIf call. -

    The loops like this are reported:

    +Reports loops which could be collapsed into single Collection.removeIf call. +

    For example:

       for (Iterator<String> it = collection.iterator(); it.hasNext(); ) {
         String aValue = it.next();
    @@ -12,6 +12,6 @@ The inspection reports the loops which could be collapsed into single Coll
     

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

    -New in 2016.3 +

    New in 2016.3

    \ No newline at end of file diff --git a/resources-en/src/inspectionDescriptions/Java8ListSort.html b/resources-en/src/inspectionDescriptions/Java8ListSort.html index 43b086c89fee..026b387dfecc 100644 --- a/resources-en/src/inspectionDescriptions/Java8ListSort.html +++ b/resources-en/src/inspectionDescriptions/Java8ListSort.html @@ -1,8 +1,8 @@ -Inspection detects calls to Collections.sort(list, comparator) which could be replaced with list.sort(comparator). +Reports calls to Collections.sort(list, comparator) which could be replaced with list.sort(comparator).

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

    -

    New in 2016.3 +

    New in 2016.3

    \ No newline at end of file diff --git a/resources-en/src/inspectionDescriptions/Java8MapApi.html b/resources-en/src/inspectionDescriptions/Java8MapApi.html index 2697a4557190..fccdc8d4cff3 100644 --- a/resources-en/src/inspectionDescriptions/Java8MapApi.html +++ b/resources-en/src/inspectionDescriptions/Java8MapApi.html @@ -1,7 +1,7 @@ -Inspection detects calls to Map.get which could be replaced with getOrDefault, computeIfAbsent or -putIfAbsent. +Reports calls to Map.get() which could be replaced with getOrDefault(), computeIfAbsent() or +putIfAbsent().