[java-decompiler] IDEA-346312 adapt patches

- add javadocs

GitOrigin-RevId: db508077f23ff6762b332c877e3bf3bfc64720fa
This commit is contained in:
Mikhail Pyltsin
2024-10-09 23:10:36 +02:00
committed by intellij-monorepo-bot
parent d8acad81dc
commit 89bc9ca827

View File

@@ -511,8 +511,8 @@ public final class MergeHelper {
}
/**
* Attempts to convert a traditional for loop (and do while) into a foreach loop if the conditions are met.
* Tries to find `next` and `hasNext` method and check usual patterns
* Attempts to convert a traditional loops into a foreach loop if the conditions are met.
* Tries to find `next` and `hasNext` methods and check usual patterns
*
* @return true if the for loop is successfully converted into a foreach loop, false otherwise.
*/