Browse Source

GroupHead: Remove a redundant call to String.format()

Change-Id: I8f5fc09469b56d73d3838e7bcfecfd21140429eb
Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
tags/v4.0.0.201505191015-rc1
Sebastian Schuberth 9 years ago
parent
commit
3d231bd95e
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      org.eclipse.jgit/src/org/eclipse/jgit/fnmatch/GroupHead.java

+ 2
- 2
org.eclipse.jgit/src/org/eclipse/jgit/fnmatch/GroupHead.java View File

@@ -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…
Cancel
Save