You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pa...@apache.org on 2009/08/11 12:13:02 UTC

svn commit: r803051 - /directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/model/ServersHandler.java

Author: pamarcelot
Date: Tue Aug 11 10:13:01 2009
New Revision: 803051

URL: http://svn.apache.org/viewvc?rev=803051&view=rev
Log:
Closed the output stream.

Modified:
    directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/model/ServersHandler.java

Modified: directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/model/ServersHandler.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/model/ServersHandler.java?rev=803051&r1=803050&r2=803051&view=diff
==============================================================================
--- directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/model/ServersHandler.java (original)
+++ directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/model/ServersHandler.java Tue Aug 11 10:13:01 2009
@@ -330,6 +330,7 @@
                 // Saving the servers to the temp servers file
                 OutputStream outputStream = new FileOutputStream( store );
                 ServersHandlerIO.write( serversList, outputStream );
+                outputStream.close();
             }
             catch ( FileNotFoundException e )
             {