You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2025/02/17 13:47:20 UTC
(maven-clean-plugin) branch comment created (now bb255ad)
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a change to branch comment
in repository https://gitbox.apache.org/repos/asf/maven-clean-plugin.git
at bb255ad Delete commented code
This branch includes the following new commits:
new bb255ad Delete commented code
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(maven-clean-plugin) 01/01: Delete commented code
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a commit to branch comment
in repository https://gitbox.apache.org/repos/asf/maven-clean-plugin.git
commit bb255ad5d82d633c744048bddbb41c1e0915869f
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Mon Feb 17 08:47:00 2025 -0500
Delete commented code
---
.../apache/maven/plugins/clean/CleanMojoTest.java | 28 +---------------------
1 file changed, 1 insertion(+), 27 deletions(-)
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 882a672..02e8bf6 100644
--- a/src/test/java/org/apache/maven/plugins/clean/CleanMojoTest.java
+++ b/src/test/java/org/apache/maven/plugins/clean/CleanMojoTest.java
@@ -86,7 +86,7 @@ public class CleanMojoTest {
/**
* Tests that no exception is thrown when all internal variables are empty and that it doesn't
- * just remove whats there
+ * just remove what's there
*
* @throws Exception in case of an error.
*/
@@ -275,32 +275,6 @@ public class CleanMojoTest {
assertFalse(Files.exists(dirWithLnk));
}
- // @Provides
- // @Singleton
- // private Project createProject() {
- // ProjectStub project = new ProjectStub();
- // project.setGroupId("myGroupId");
- // return project;
- // }
-
- // @Provides
- // @Singleton
- // @SuppressWarnings("unused")
- // private InternalSession createSession() {
- // InternalSession session = SessionStub.getMockSession(LOCAL_REPO);
- // Properties props = new Properties();
- // props.put("basedir", MojoExtension.getBasedir());
- // doReturn(props).when(session).getSystemProperties();
- // return session;
- // }
-
- // @Provides
- // @Singleton
- // @SuppressWarnings("unused")
- // private MojoExecution createMojoExecution() {
- // return new MojoExecutionStub("default-clean", "clean");
- // }
-
/**
* @param dir a dir or a file
* @return true if a file/dir exists, false otherwise