Skip to content

Commit 18e71b1

Browse files
committed
Make sure to close .pki properties after restore
1 parent bfb37ea commit 18e71b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

team/bundles/org.eclipse.core.pki/src/org/eclipse/core/pki/auth/SecurityFileSnapshot.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public void restoreProperties() {
149149
String date = new SimpleDateFormat("dd-MM-yyyy").format(new Date());
150150
originalProperties.store(os, "Restored to Original:"+date);
151151
os.flush();
152-
152+
os.close();
153153
} catch (Exception e) {
154154
// TODO Auto-generated catch block
155155
e.printStackTrace();

0 commit comments

Comments
 (0)