gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject gora git commit: GORA-460 InputStream is not closed in DataStoreFactory#getMappingFile() this closes #52
Date Wed, 27 Jan 2016 05:10:39 GMT
Repository: gora
Updated Branches:
  refs/heads/master 54fc2ad71 -> 73a649fbc


GORA-460 InputStream is not closed in DataStoreFactory#getMappingFile() this closes #52


Project: http://git-wip-us.apache.org/repos/asf/gora/repo
Commit: http://git-wip-us.apache.org/repos/asf/gora/commit/73a649fb
Tree: http://git-wip-us.apache.org/repos/asf/gora/tree/73a649fb
Diff: http://git-wip-us.apache.org/repos/asf/gora/diff/73a649fb

Branch: refs/heads/master
Commit: 73a649fbccb9fa7751aafb20076354c1b10952fc
Parents: 54fc2ad
Author: Lewis John McGibbney <lewis.j.mcgibbney@jpl.nasa.gov>
Authored: Tue Jan 26 21:13:45 2016 -0800
Committer: Lewis John McGibbney <lewis.j.mcgibbney@jpl.nasa.gov>
Committed: Tue Jan 26 21:13:45 2016 -0800

----------------------------------------------------------------------
 gora-core/src/main/java/org/apache/gora/store/DataStoreFactory.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/gora/blob/73a649fb/gora-core/src/main/java/org/apache/gora/store/DataStoreFactory.java
----------------------------------------------------------------------
diff --git a/gora-core/src/main/java/org/apache/gora/store/DataStoreFactory.java b/gora-core/src/main/java/org/apache/gora/store/DataStoreFactory.java
index 8d2c441..b0bc1d8 100644
--- a/gora-core/src/main/java/org/apache/gora/store/DataStoreFactory.java
+++ b/gora-core/src/main/java/org/apache/gora/store/DataStoreFactory.java
@@ -380,6 +380,7 @@ public class DataStoreFactory{
     if (mappingFile == null)
       throw new IOException("Unable to open mapping file: "+mappingFilename);
 
+    mappingFile.close();
     return mappingFilename;
   }
 


Mime
View raw message