directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r803051 - /directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/model/ServersHandler.java
Date Tue, 11 Aug 2009 10:13:02 GMT
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 )
             {



Mime
View raw message