GroupHead: Remove a redundant call to String.format()
Change-Id: I8f5fc09469b56d73d3838e7bcfecfd21140429eb Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
This commit is contained in:
parent
ec6ec3b10f
commit
3d231bd95e
|
@ -114,9 +114,9 @@ final class GroupHead extends AbstractHead {
|
|||
characterClasses.add(LetterPattern.INSTANCE);
|
||||
characterClasses.add(DigitPattern.INSTANCE);
|
||||
} else {
|
||||
final String message = String.format(MessageFormat.format(
|
||||
final String message = MessageFormat.format(
|
||||
JGitText.get().characterClassIsNotSupported,
|
||||
characterClass));
|
||||
characterClass);
|
||||
throw new InvalidPatternException(message, wholePattern);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue