diff options
author | Dave Borowitz <dborowitz@google.com> | 2016-01-19 11:13:40 -0500 |
---|---|---|
committer | Dave Borowitz <dborowitz@google.com> | 2016-01-19 17:59:19 -0500 |
commit | 2ccea7f05a0f3e783f6a8fa3f07cc5f1001bc950 (patch) | |
tree | f668b9fea889815cbe7deedbfdbaa30a413fa741 /org.eclipse.jgit.pgm.test/tst/org | |
parent | a693d7b33c9c7d7315974feff6cefe4ab84fb9a6 (diff) | |
download | jgit-2ccea7f05a0f3e783f6a8fa3f07cc5f1001bc950.tar.gz jgit-2ccea7f05a0f3e783f6a8fa3f07cc5f1001bc950.zip |
ChangeIdUtil: Don't throw IOException
This could have only happened during the getBytes call. Instead, use
Constants.encode, which is a non-throwing implementation.
This change is binary compatible with existing code compiled against
older versions of JGit, although it might break compilation of
previously compiling code due to dead catch blocks.
Change-Id: I191fec5cac718657407230de141440e86d0151fb
Diffstat (limited to 'org.eclipse.jgit.pgm.test/tst/org')
0 files changed, 0 insertions, 0 deletions