summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2020-11-29 01:24:08 +0100
committerChristian Halstrick <christian.halstrick@sap.com>2020-12-17 17:18:11 +0100
commit5b16f32de06aa59dbfdc6b0a49b0423ab408f99d (patch)
tree30a3ac24d7528f9cc63db6a41f33af3bdc92f9a1 /org.eclipse.jgit
parentc8c0556f76be89ab422e68e6296b3cd473ab8278 (diff)
downloadjgit-5b16f32de06aa59dbfdc6b0a49b0423ab408f99d.tar.gz
jgit-5b16f32de06aa59dbfdc6b0a49b0423ab408f99d.zip
FetchProcess#execute: fix formatting
Change-Id: I133af64e6b165bdc58b8d7c805f0c68b6919baf2 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
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);