Skip to content

Commit 777f496

Browse files
author
Vincent Potucek
committed
removeWildcardImports: throw new AssertionError instead of removing
1 parent 43adf9e commit 777f496

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin-maven/src/test/java/com/diffplug/spotless/maven/java/RemoveWildcardImportsStepTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
class RemoveWildcardImportsStepTest extends MavenIntegrationHarness {
2626

27-
private static final String ERROR = "Do not use wildcard imports. 'spotlessApply' cannot resolve this issue.";
27+
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";
2828

2929
@BeforeEach
3030
void init() throws Exception {

0 commit comments

Comments
 (0)