Browse Source

JGitText: Remove unnecessary suffix from externalized message identifier

Change-Id: I7a3ade56c219826b81d33d1d52566a86ad2e853a
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
stable-5.4
David Pursehouse 6 years ago
parent
commit
a5a62a4cdb
  1. 2
      org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties
  2. 2
      org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java
  3. 2
      org.eclipse.jgit/src/org/eclipse/jgit/util/sha1/Sha1CollisionException.java

2
org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties

@ -631,7 +631,7 @@ selectingCommits=Selecting commits
sequenceTooLargeForDiffAlgorithm=Sequence too large for difference algorithm.
serviceNotEnabledNoName=Service not enabled
serviceNotPermitted={1} not permitted on ''{0}''
sha1CollisionDetected1=SHA-1 collision detected on {0}
sha1CollisionDetected=SHA-1 collision detected on {0}
shallowCommitsAlreadyInitialized=Shallow commits have already been initialized
shallowPacksRequireDepthWalk=Shallow packs require a DepthWalk
shortCompressedStreamAt=Short compressed stream at {0}

2
org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java

@ -692,7 +692,7 @@ public class JGitText extends TranslationBundle {
/***/ public String sequenceTooLargeForDiffAlgorithm;
/***/ public String serviceNotEnabledNoName;
/***/ public String serviceNotPermitted;
/***/ public String sha1CollisionDetected1;
/***/ public String sha1CollisionDetected;
/***/ public String shallowCommitsAlreadyInitialized;
/***/ public String shallowPacksRequireDepthWalk;
/***/ public String shortCompressedStreamAt;

2
org.eclipse.jgit/src/org/eclipse/jgit/util/sha1/Sha1CollisionException.java

@ -65,7 +65,7 @@ public class Sha1CollisionException extends RuntimeException {
*/
public Sha1CollisionException(ObjectId id) {
super(MessageFormat.format(
JGitText.get().sha1CollisionDetected1,
JGitText.get().sha1CollisionDetected,
id.name()));
}
}

Loading…
Cancel
Save