Skip to content

Commit

Permalink
Remove useless throws clause
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Jul 5, 2024
1 parent f6fef20 commit c7c6455
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, String> properties, SubstitutionCallback callback) {
performSubstitution(properties, callback, true, true, true);
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit c7c6455

Please sign in to comment.