diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2017-12-07 09:51:56 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2017-12-07 20:02:59 +0900 |
commit | 899696ed08c1c3d6649de00c9d53d436fce6b1fb (patch) | |
tree | 02632f2cdaf8757681193cd00706d941a96fe28f /org.eclipse.jgit.lfs | |
parent | b433f2722fd55e43a764e7d56c29bb037d87fa09 (diff) | |
download | jgit-899696ed08c1c3d6649de00c9d53d436fce6b1fb.tar.gz jgit-899696ed08c1c3d6649de00c9d53d436fce6b1fb.zip |
InvalidLongObjectIdException: Fix formatting of message
The message is formatted as:
Invalid id: : abcde...
but should be:
Invalid id: abcde...
Change-Id: Ie15cacdcf2f168edaee262e6cf8061ebfe9d998d
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.lfs')
-rw-r--r-- | org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/errors/InvalidLongObjectIdException.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/errors/InvalidLongObjectIdException.java b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/errors/InvalidLongObjectIdException.java index 1f6e2d174f..44ac317a16 100644 --- a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/errors/InvalidLongObjectIdException.java +++ b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/errors/InvalidLongObjectIdException.java @@ -80,7 +80,7 @@ public class InvalidLongObjectIdException extends IllegalArgumentException { private static String asAscii(byte[] bytes, int offset, int length) { try { - return ": " + new String(bytes, offset, length, "US-ASCII"); //$NON-NLS-1$ //$NON-NLS-2$ + return new String(bytes, offset, length, "US-ASCII"); //$NON-NLS-1$ } catch (UnsupportedEncodingException e2) { return ""; //$NON-NLS-1$ } catch (StringIndexOutOfBoundsException e2) { |