This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-apache-resources.git
The following commit(s) were added to refs/heads/master by this push:
new 3361fd3 Simplify redundant code
3361fd3 is described below
commit 3361fd32e34fa57598704c11cead268b98d9a59a
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Tue Nov 17 17:14:03 2026 +0000
Simplify redundant code
---
source-release/src/test/java/org/apache/its/util/TestUtils.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/source-release/src/test/java/org/apache/its/util/TestUtils.java
b/source-release/src/test/java/org/apache/its/util/TestUtils.java
index 891c9ef..828f441 100644
--- a/source-release/src/test/java/org/apache/its/util/TestUtils.java
+++ b/source-release/src/test/java/org/apache/its/util/TestUtils.java
@@ -56,7 +56,7 @@ public class TestUtils {
childPath = "/" + childPath;
}
- return (artifactId + "-" + version + "/" + artifactId + "-" +
childName + childPath);
+ return artifactId + "-" + version + "/" + artifactId + "-" + childName
+ childPath;
}
public static String archivePathFromProject(String artifactId, String
version, String path) {
@@ -64,7 +64,7 @@ public class TestUtils {
path = "/" + path;
}
- return (artifactId + "-" + version + path);
+ return artifactId + "-" + version + path;
}
public static void assertTarContents(Set<String> required, Set<String>
banned, File assembly) throws IOException {