Revision: 4596
          http://sourceforge.net/p/jump-pilot/code/4596
Author:   bertazza
Date:     2015-12-10 10:20:43 +0000 (Thu, 10 Dec 2015)
Log Message:
-----------
Fixed bug in GridFloat class: now channels and streams are closed after writing 
of grid is completed.

Modified Paths:
--------------
    core/trunk/ChangeLog
    core/trunk/src/org/openjump/core/rasterimage/GridFloat.java

Modified: core/trunk/ChangeLog
===================================================================
--- core/trunk/ChangeLog        2015-12-09 22:59:28 UTC (rev 4595)
+++ core/trunk/ChangeLog        2015-12-10 10:20:43 UTC (rev 4596)
@@ -1,5 +1,8 @@
 # for display continuity sake please use 2 spaces instead of tabs
 
+2015-12-10
+  * Fixed bug in GridFloat class: now channels and streams are closed 
+    after writing of grid is completed.
 2015-12-08 ede
   * bugfix "renaming layers or editing attributes in attribtab executes 
     plugin/cursortool erronously via shortcut" and "shortcuts Strg+X/C/V etc.

Modified: core/trunk/src/org/openjump/core/rasterimage/GridFloat.java
===================================================================
--- core/trunk/src/org/openjump/core/rasterimage/GridFloat.java 2015-12-09 
22:59:28 UTC (rev 4595)
+++ core/trunk/src/org/openjump/core/rasterimage/GridFloat.java 2015-12-10 
10:20:43 UTC (rev 4596)
@@ -291,6 +291,8 @@
         bb.compact();
         fileChannelOut.write(bb);
         bb.clear();
+        fileChannelOut.close();
+        fileOutStream.close();
 
     }
     


------------------------------------------------------------------------------
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to