]> source.dussan.org Git - jgit.git/commit
Remove unneeded catch block and null checks 32/5832/1
authorKevin Sawicki <kevin@github.com>
Fri, 4 May 2012 21:37:40 +0000 (14:37 -0700)
committerKevin Sawicki <kevin@github.com>
Fri, 4 May 2012 21:37:40 +0000 (14:37 -0700)
commit6f432673c105febf1f8cd617fc7c111d9525274f
tree72062993121c3e1ec37a7f77fb129dc64a69c8cd
parente5633ba2d3086f4c2e0385083cb13edb39996fe9
Remove unneeded catch block and null checks

The catched exception was just rethrown and the
null check of the locked dir cache was unneeded if
the assignment was done outside the try block.

Change-Id: If2ee1f3eff3849f8da51eab825057fc56e166a94
org.eclipse.jgit/src/org/eclipse/jgit/api/ResetCommand.java