summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/FetchProcess.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/FetchProcess.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/FetchProcess.java
index 45adfa6522..00b726e063 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/FetchProcess.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/FetchProcess.java
@@ -95,8 +95,9 @@ class FetchProcess {
throw err;
} finally {
try {
- for (PackLock lock : packLocks)
- lock.unlock();
+ for (PackLock lock : packLocks) {
+ lock.unlock();
+ }
} catch (IOException e) {
if (e1 != null) {
e.addSuppressed(e1);