diff --git a/resources-en/src/inspectionDescriptions/SimplifyStreamApiCallChains.html b/resources-en/src/inspectionDescriptions/SimplifyStreamApiCallChains.html index 5be8941547ee..5893d37ddfbe 100644 --- a/resources-en/src/inspectionDescriptions/SimplifyStreamApiCallChains.html +++ b/resources-en/src/inspectionDescriptions/SimplifyStreamApiCallChains.html @@ -13,6 +13,8 @@ It allows to avoid creating redundant temporary objects when traversing a collec
  • Collections.singletonList().stream() → Stream.of()
  • Collections.emptyList().stream() → Stream.empty()
  • Collections.emptySet().stream() → Stream.empty()
  • +
  • Stream.filter().findFirst().isPresent() → Stream.anyMatch()
  • +
  • Stream.filter().findAny().isPresent() → Stream.anyMatch()
  • Stream.collect(Collectors.counting()) → Stream.count()
  • Stream.collect(Collectors.maxBy()) → Stream.max()
  • Stream.collect(Collectors.minBy()) → Stream.min()