Skip to content

Commit

Permalink
Update Functions.java
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Dec 8, 2024
1 parent 1651fae commit 6d6d395
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/main/java/hudson/Functions.java
Original file line number Diff line number Diff line change
Expand Up @@ -2602,6 +2602,10 @@ public static String translateModifierKeysForUsersPlatform(String keyboardShortc

@Restricted(NoExternalUse.class)
public static String formatMessage(String format, Object args) {
if (format == null) {
return args.toString();
}

return MessageFormat.format(format, args);
}
}

0 comments on commit 6d6d395

Please sign in to comment.