You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@taverna.apache.org by ia...@apache.org on 2016/02/23 16:53:30 UTC

incubator-taverna-language git commit: Close the zip file inside the ROBundle validate method. Fixes https://issues.apache.org/jira/browse/TAVERNA-919 on windows 7

Repository: incubator-taverna-language
Updated Branches:
  refs/heads/master bcc2291bf -> 304a9e83d


Close the zip file inside the ROBundle validate method. Fixes https://issues.apache.org/jira/browse/TAVERNA-919 on windows 7


Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/commit/304a9e83
Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/tree/304a9e83
Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/diff/304a9e83

Branch: refs/heads/master
Commit: 304a9e83d167e762b9ce4cdd0c015f6ce73e61eb
Parents: bcc2291
Author: Ian Dunlop <ia...@manchester.ac.uk>
Authored: Tue Feb 23 15:50:36 2016 +0000
Committer: Ian Dunlop <ia...@manchester.ac.uk>
Committed: Tue Feb 23 15:50:36 2016 +0000

----------------------------------------------------------------------
 .../java/org/apache/taverna/robundle/validator/RoValidator.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/304a9e83/taverna-robundle/src/main/java/org/apache/taverna/robundle/validator/RoValidator.java
----------------------------------------------------------------------
diff --git a/taverna-robundle/src/main/java/org/apache/taverna/robundle/validator/RoValidator.java b/taverna-robundle/src/main/java/org/apache/taverna/robundle/validator/RoValidator.java
index b2bc7d3..3c8c35b 100644
--- a/taverna-robundle/src/main/java/org/apache/taverna/robundle/validator/RoValidator.java
+++ b/taverna-robundle/src/main/java/org/apache/taverna/robundle/validator/RoValidator.java
@@ -96,7 +96,7 @@ public class RoValidator {
 		        	items.add("/"+entry.getName());
 		        }
 		    }
-			
+			zip.close();
 		} catch (IOException e) {
 			// TODO Auto-generated catch block
 			System.err.println("Unable to open the bundle");