From 7b053970f4b9443651fa5dffe42c8b025c596dff Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Wed, 7 Jun 2023 18:01:49 +0200 Subject: [PATCH] [MCLEAN-105] Reformat --- .../java/org/apache/maven/plugins/clean/CleanMojo.java | 1 + src/main/java/org/apache/maven/plugins/clean/Cleaner.java | 7 ++++--- .../java/org/apache/maven/plugins/clean/GlobSelector.java | 1 + .../java/org/apache/maven/plugins/clean/CleanMojoTest.java | 5 +++-- src/test/java/org/apache/maven/plugins/clean/Utils.java | 1 + 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/apache/maven/plugins/clean/CleanMojo.java b/src/main/java/org/apache/maven/plugins/clean/CleanMojo.java index 749e501..3dff361 100644 --- a/src/main/java/org/apache/maven/plugins/clean/CleanMojo.java +++ b/src/main/java/org/apache/maven/plugins/clean/CleanMojo.java @@ -20,6 +20,7 @@ import java.io.File; import java.io.IOException; + import org.apache.maven.execution.MavenSession; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; diff --git a/src/main/java/org/apache/maven/plugins/clean/Cleaner.java b/src/main/java/org/apache/maven/plugins/clean/Cleaner.java index 5aa3225..70bfe2e 100644 --- a/src/main/java/org/apache/maven/plugins/clean/Cleaner.java +++ b/src/main/java/org/apache/maven/plugins/clean/Cleaner.java @@ -18,9 +18,6 @@ */ package org.apache.maven.plugins.clean; -import static org.apache.maven.plugins.clean.CleanMojo.FAST_MODE_BACKGROUND; -import static org.apache.maven.plugins.clean.CleanMojo.FAST_MODE_DEFER; - import java.io.File; import java.io.IOException; import java.lang.reflect.InvocationHandler; @@ -31,12 +28,16 @@ import java.nio.file.StandardCopyOption; import java.util.ArrayDeque; import java.util.Deque; + import org.apache.maven.execution.ExecutionListener; import org.apache.maven.execution.MavenSession; import org.apache.maven.plugin.logging.Log; import org.apache.maven.shared.utils.Os; import org.eclipse.aether.SessionData; +import static org.apache.maven.plugins.clean.CleanMojo.FAST_MODE_BACKGROUND; +import static org.apache.maven.plugins.clean.CleanMojo.FAST_MODE_DEFER; + /** * Cleans directories. * diff --git a/src/main/java/org/apache/maven/plugins/clean/GlobSelector.java b/src/main/java/org/apache/maven/plugins/clean/GlobSelector.java index e5bf591..3ba63d7 100644 --- a/src/main/java/org/apache/maven/plugins/clean/GlobSelector.java +++ b/src/main/java/org/apache/maven/plugins/clean/GlobSelector.java @@ -20,6 +20,7 @@ import java.io.File; import java.util.Arrays; + import org.apache.maven.shared.utils.io.DirectoryScanner; import org.apache.maven.shared.utils.io.SelectorUtils; diff --git a/src/test/java/org/apache/maven/plugins/clean/CleanMojoTest.java b/src/test/java/org/apache/maven/plugins/clean/CleanMojoTest.java index 8b9e7cb..48fa782 100644 --- a/src/test/java/org/apache/maven/plugins/clean/CleanMojoTest.java +++ b/src/test/java/org/apache/maven/plugins/clean/CleanMojoTest.java @@ -18,15 +18,16 @@ */ package org.apache.maven.plugins.clean; -import static org.apache.commons.io.FileUtils.copyDirectory; - import java.io.File; import java.io.RandomAccessFile; import java.nio.channels.FileChannel; import java.nio.channels.FileLock; + import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.testing.AbstractMojoTestCase; +import static org.apache.commons.io.FileUtils.copyDirectory; + /** * Test the clean mojo. * diff --git a/src/test/java/org/apache/maven/plugins/clean/Utils.java b/src/test/java/org/apache/maven/plugins/clean/Utils.java index f3c52b1..f96226d 100644 --- a/src/test/java/org/apache/maven/plugins/clean/Utils.java +++ b/src/test/java/org/apache/maven/plugins/clean/Utils.java @@ -19,6 +19,7 @@ package org.apache.maven.plugins.clean; import java.io.File; + import org.codehaus.plexus.util.cli.CommandLineUtils; import org.codehaus.plexus.util.cli.Commandline;