skuzzle / restrict-imports-enforcer-rule

Gradle plugin & Maven Enforcer rule that restricts usage of unwanted imports in Java, Kotlin and Groovy source files.
MIT License
75 stars 12 forks source link

Support multiple java imports in same line #34

Closed skuzzle closed 5 years ago

skuzzle commented 5 years ago

Java supports writing multiple import statements in the same line, separated by ; like

import java.util.List; import java.util.Collection;

Though that is not the preferred formatting for most code bases it should be easy to support this.