mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
small improvements to "Stream API call chain can be replaced with loop" inspection messages
GitOrigin-RevId: 1bb01310db3e3233bf4ef1b1cb40a49ba50e793a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
64b5b30b64
commit
5ba739b481
@@ -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<String> 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)
|
||||
|
||||
Reference in New Issue
Block a user