Browse Source

Merge "Merge branch 'stable-4.11' into stable-5.0" into stable-5.1

stable-5.1
David Pursehouse 6 years ago committed by Gerrit Code Review @ Eclipse.org
parent
commit
4728a32699
  1. 5
      org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/fs/ObjectDownloadListener.java

5
org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/fs/ObjectDownloadListener.java

@ -131,6 +131,11 @@ public class ObjectDownloadListener implements WriteListener {
if (buffer != null) { if (buffer != null) {
outChannel.write(buffer); outChannel.write(buffer);
} else { } else {
try {
in.close();
} catch (IOException e) {
LOG.log(Level.SEVERE, e.getMessage(), e);
}
try { try {
out.close(); out.close();
} finally { } finally {

Loading…
Cancel
Save