This inspection reports any instances of while loops which iterate over collections, and can be replaced with the JDK 5.0 "for each" iteration syntax.

For safety, this inspection is disabled unless the project uses JDK 5.0.