Skip to content

Commit 43adf9e

Browse files
author
Vincent Potucek
committed
Merge remote-tracking branch 'f/fix-RemoveWildcardImportsStep' into fix-RemoveWildcardImportsStep
2 parents b846b0b + 730f211 commit 43adf9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/main/java/com/diffplug/spotless/java/RemoveWildcardImportsStep.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public final class RemoveWildcardImportsStep {
2626
*/
2727
private static final String REGEX = "(?m)^import\\s+(?:static\\s+)?[^;\\n]*\\*;\\R?";
2828
private static final String NAME = "removeWildcardImports";
29-
private static final String ERROR = "Do not use wildcard imports. 'spotlessApply' cannot resolve this issue.";
29+
private static final String ERROR = "Do not use wildcard imports (e.g. java.util.*) - replace with specific class imports (e.g. java.util.List) as 'spotlessApply' cannot auto-fix this";
3030

3131
private RemoveWildcardImportsStep() {}
3232

0 commit comments

Comments
 (0)