small improvements to "Stream API call chain can be replaced with loop" inspection messages

GitOrigin-RevId: 1bb01310db3e3233bf4ef1b1cb40a49ba50e793a
This commit is contained in:
Bas Leijdekkers
2022-01-31 10:13:17 +00:00
committed by intellij-monorepo-bot
parent 64b5b30b64
commit 5ba739b481
2 changed files with 3 additions and 3 deletions
@@ -1,7 +1,7 @@
<html>
<body>
Reports Stream API chains, <code>Iterable.forEach</code>, and <code>Map.forEach</code> calls that can be automatically converted into classical loops.
<p>Example:</p>
Reports Stream API chains, <code>Iterable.forEach()</code>, and <code>Map.forEach()</code> calls that can be automatically converted into classical loops.
<p><b>Example:</b></p>
<pre><code>
String joinNonEmpty(List&lt;String&gt; list) {
return list.stream() // Stream can be converted to loop
@@ -1390,7 +1390,7 @@ unchecked.warning.inspection.message.unchecked.generics.array.creation.for.varar
type.migration.dialog.message.invalid.type=''{0}'' is an invalid type
type.migration.dialog.message.void.not.applicable='void' is not applicable
stream.to.loop.inspection.message.replace.stream.api.chain.with.loop=Replace Stream API chain with loop
stream.to.loop.inspection.message.replace.foreach.call.with.loop=Replace 'forEach' call with loop
stream.to.loop.inspection.message.replace.foreach.call.with.loop=Replace 'forEach()' call with loop
todo.index.not.available=N/A
simplify.stream.inspection.message.can.be.replaced=''{0}'' can be replaced with ''{1}''
simplify.stream.inspection.message.can.be.replaced.may.change.semantics=''{0}'' can be replaced with ''{1}'' (may change semantics)