]> source.dussan.org Git - jgit.git/commit
Avoid double-colon in InvalidObjectIdException description 43/51143/2
authorJonathan Nieder <jrn@google.com>
Tue, 30 Jun 2015 21:34:02 +0000 (14:34 -0700)
committerJonathan Nieder <jrn@google.com>
Mon, 6 Jul 2015 19:34:31 +0000 (12:34 -0700)
commit0c7ad12c767d34ab90505c405ad6f0b70ee670ec
tree40e662fd48da54ea44f68e2ee8791912e2bbef97
parent3c33d094a1be5e773c64fcdf5b47da54126fabf2
Avoid double-colon in InvalidObjectIdException description

The invalidId message in JGitText and the asAscii bad id both contain a
colon, so the resulting message would say

Invalid id: : a78987c98798ufa

Fix it by keeping the colon in the translated message and not adding
another colon programmatically.

Noticed by code inspection.

Change-Id: I13972eebde27a4128828e6c64517666f0ba6288b
Signed-off-by: Jonathan Nieder <jrn@google.com>
org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/errors/InvalidObjectIdException.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java