From c7c64553566bac77b175a4a7ed6005910210308c Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Fri, 5 Jul 2024 11:10:44 +0200 Subject: [PATCH] Remove useless throws clause --- .../java/org/apache/maven/cli/props/InterpolationHelper.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/props/InterpolationHelper.java b/maven-embedder/src/main/java/org/apache/maven/cli/props/InterpolationHelper.java index 9aaaa9b2ab7e..9a7258df3b41 100644 --- a/maven-embedder/src/main/java/org/apache/maven/cli/props/InterpolationHelper.java +++ b/maven-embedder/src/main/java/org/apache/maven/cli/props/InterpolationHelper.java @@ -43,7 +43,7 @@ public interface SubstitutionCallback { * Perform substitution on a property set * * @param properties the property set to perform substitution on - * @param callback Callback for substituion + * @param callback Callback for substitution */ public static void performSubstitution(Map properties, SubstitutionCallback callback) { performSubstitution(properties, callback, true, true, true); @@ -175,8 +175,7 @@ public static String substVars( SubstitutionCallback callback, boolean substituteFromConfig, boolean substituteFromSystemProperties, - boolean defaultsToEmptyString) - throws IllegalArgumentException { + boolean defaultsToEmptyString) { return unescape(doSubstVars( val, currentKey,