Skip to content

Commit fbc88a2

Browse files
JavaJoeSjukzi
authored andcommitted
Make sure to close .pki properties after restore
1 parent 099e514 commit fbc88a2

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)