mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Delete junk todo note in CancellationCheckInLoopsInspection
GitOrigin-RevId: 0cfc3b5dca1b8663d7deca940e9d581e4de5284a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
158f5ee2f1
commit
b89ae952b9
@@ -18,7 +18,7 @@ import org.jetbrains.uast.visitor.AbstractUastNonRecursiveVisitor
|
||||
private val javaLoopMethods: CallMatcher = CallMatcher.anyOf(
|
||||
CallMatcher.instanceCall(JAVA_LANG_ITERABLE, "forEach").parameterTypes(JAVA_UTIL_FUNCTION_CONSUMER),
|
||||
CallMatcher.instanceCall(JAVA_UTIL_ITERATOR, "forEachRemaining").parameterTypes(JAVA_UTIL_FUNCTION_CONSUMER),
|
||||
CallMatcher.instanceCall(JAVA_UTIL_STREAM_STREAM, "forEach", "forEachOrdered").parameterTypes(JAVA_UTIL_FUNCTION_CONSUMER), // TODO: IntStream, etc.?
|
||||
CallMatcher.instanceCall(JAVA_UTIL_STREAM_STREAM, "forEach", "forEachOrdered").parameterTypes(JAVA_UTIL_FUNCTION_CONSUMER),
|
||||
CallMatcher.instanceCall(JAVA_UTIL_MAP, "forEach").parameterTypes("java.util.function.BiConsumer"),
|
||||
CallMatcher.staticCall(ContainerUtil::class.java.name, "process")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user