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/11/23 16:34:44 UTC

(maven-assembly-plugin) branch quote created (now a02b4d36)

This is an automated email from the ASF dual-hosted git repository.

elharo pushed a change to branch quote
in repository https://gitbox.apache.org/repos/asf/maven-assembly-plugin.git


      at a02b4d36 Remove redundant escaping

This branch includes the following new commits:

     new a02b4d36 Remove redundant escaping

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-assembly-plugin) 01/01: Remove redundant escaping

Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch quote
in repository https://gitbox.apache.org/repos/asf/maven-assembly-plugin.git

commit a02b4d36b182b216e4f45e29e7029fc42c308022
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Sun Nov 23 10:34:35 2025 -0600

    Remove redundant escaping
---
 .../org/apache/maven/plugins/assembly/utils/TypeConversionUtils.java    | 2 +-
 .../apache/maven/plugins/assembly/utils/TypeConversionUtilsTest.java    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/maven/plugins/assembly/utils/TypeConversionUtils.java b/src/main/java/org/apache/maven/plugins/assembly/utils/TypeConversionUtils.java
index d0251bf3..d5c3854b 100644
--- a/src/main/java/org/apache/maven/plugins/assembly/utils/TypeConversionUtils.java
+++ b/src/main/java/org/apache/maven/plugins/assembly/utils/TypeConversionUtils.java
@@ -71,7 +71,7 @@ public final class TypeConversionUtils {
 
             return value;
         } catch (final NumberFormatException e) {
-            throw new AssemblyFormattingException("Failed to parse mode as an octal number: \'" + mode + "\'.", e);
+            throw new AssemblyFormattingException("Failed to parse mode as an octal number: '" + mode + "'.", e);
         }
     }
 
diff --git a/src/test/java/org/apache/maven/plugins/assembly/utils/TypeConversionUtilsTest.java b/src/test/java/org/apache/maven/plugins/assembly/utils/TypeConversionUtilsTest.java
index 342aab0c..d4b46b8d 100644
--- a/src/test/java/org/apache/maven/plugins/assembly/utils/TypeConversionUtilsTest.java
+++ b/src/test/java/org/apache/maven/plugins/assembly/utils/TypeConversionUtilsTest.java
@@ -100,7 +100,7 @@ public class TypeConversionUtilsTest {
             final String message = warnings.getAllValues().toString();
 
             for (final String checkMessage : messagesToCheckIfInsane) {
-                assertTrue(message.contains(checkMessage), "\'" + checkMessage + "\' is not present in output.");
+                assertTrue(message.contains(checkMessage), "'" + checkMessage + "' is not present in output.");
             }
         }
     }