Skip to content

Commit eac9955

Browse files
committed
Fix checkstyle violation
1 parent 7725490 commit eac9955

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

gradle/plugins/conventions-plugin/src/main/java/org/springframework/ws/gradle/conventions/CheckstyleConventions.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ public class CheckstyleConventions {
4040
public void apply(Project project) {
4141
project.getPlugins().withType(JavaPlugin.class, (java) -> {
4242
project.getPlugins().apply(CheckstylePlugin.class);
43-
project.getTasks().withType(Checkstyle.class).forEach(checkstyle -> checkstyle.getMaxHeapSize().set("1g"));
44-
project.getTasks().named("checkstyleTest").configure(task -> task.setEnabled(false));
43+
project.getTasks()
44+
.withType(Checkstyle.class)
45+
.forEach((checkstyle) -> checkstyle.getMaxHeapSize().set("1g"));
46+
project.getTasks().named("checkstyleTest").configure((task) -> task.setEnabled(false));
4547
CheckstyleExtension checkstyle = project.getExtensions().getByType(CheckstyleExtension.class);
4648
checkstyle.setToolVersion("10.21.1");
4749
checkstyle.getConfigDirectory().set(project.getRootProject().file("src/checkstyle"));

0 commit comments

Comments
 (0)