File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
main/java/com/diffplug/gradle/spotless
test/java/com/diffplug/gradle/spotless Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2016-2024 DiffPlug
2+ * Copyright 2016-2025 DiffPlug
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change @@ -84,17 +84,17 @@ void removeUnusedImportsWithCleanthat() throws IOException {
8484 @ Test
8585 void removeWildCardImports () throws IOException {
8686 setFile ("build.gradle" ).toLines (
87- "plugins {" ,
88- " id 'com.diffplug.spotless'" ,
89- "}" ,
90- "repositories { mavenCentral() }" ,
91- "" ,
92- "spotless {" ,
93- " java {" ,
94- " target file('test.java')" ,
95- " removeWildcardImports()" ,
96- " }" ,
97- "}" );
87+ "plugins {" ,
88+ " id 'com.diffplug.spotless'" ,
89+ "}" ,
90+ "repositories { mavenCentral() }" ,
91+ "" ,
92+ "spotless {" ,
93+ " java {" ,
94+ " target file('test.java')" ,
95+ " removeWildcardImports()" ,
96+ " }" ,
97+ "}" );
9898
9999 setFile ("test.java" ).toResource ("java/removewildcardimports/JavaCodeWildcardsUnformatted.test" );
100100 gradleRunner ().withArguments ("spotlessApply" ).build ();
You can’t perform that action at this time.
0 commit comments