diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2017-12-19 11:37:08 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2017-12-19 23:27:53 +0900 |
commit | 0f1c160aa7302266136389c4e7b2ece30fc38675 (patch) | |
tree | dceef5f025a225d7c4be3b51293a04c45a5fbf53 /org.eclipse.jgit.pgm.test | |
parent | 365c6cb3874ab8f284f49aba21df2a2900297872 (diff) | |
download | jgit-0f1c160aa7302266136389c4e7b2ece30fc38675.tar.gz jgit-0f1c160aa7302266136389c4e7b2ece30fc38675.zip |
Don't unnecessarily explicitly call CorruptObjectException#initCause
CorruptObjectException has a constructor that takes Throwable and
calls initCause with it. Use that instead of instantiating the
exception and explicitly calling initCause.
Change-Id: I1f2747d6c4cc5249e93401b9787eb4ceb50cb995
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.pgm.test')
0 files changed, 0 insertions, 0 deletions