]> source.dussan.org Git - jgit.git/commit
Remove duplicate calls to DirCache.unlock on checkout 40/4240/1
authorKevin Sawicki <kevin@github.com>
Tue, 13 Sep 2011 22:29:55 +0000 (15:29 -0700)
committerKevin Sawicki <kevin@github.com>
Tue, 13 Sep 2011 22:29:55 +0000 (15:29 -0700)
commit4005f3c6934de556f3937b96d98f6eeb28c353bd
treed51e2d69a86ff3ac8cac0f1c35fccf4321b1a9d7
parentcc4e6109e40ac6f761b302b24bd6a793393090d5
Remove duplicate calls to DirCache.unlock on checkout

Calls to unlock the DirCache before throwing an exception
were not needed since checkout calls doCheckout wrapped
in a try block that calls DirCache.unlock in a finally
block.

Change-Id: I2b249a784f9e363430e288aad67fcefb7fac0a6e
Signed-off-by: Kevin Sawicki <kevin@github.com>
org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java