Commit 6c8ee34b authored by agurov's avatar agurov

Possible resource leak in UI (bug 471963)

https://bugs.eclipse.org/bugs/show_bug.cgi?id=471963

git-svn-id: https://dev.eclipse.org/svnroot/technology/org.eclipse.subversive/trunk@21489 ee007c2a-0a25-0410-9ab9-bf268980928c
parent 278bd500
......@@ -14,6 +14,7 @@
package org.eclipse.team.svn.ui.history;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.HashMap;
......@@ -732,9 +733,9 @@ public class HistoryActionManager {
}
}
finally {
output.close();
try {output.close();} catch (IOException ex) {}
if (input != null) {
input.close();
try {input.close();} catch (IOException ex) {}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment