summaryrefslogtreecommitdiff
path: root/nlpsolver
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-05-03 15:18:08 +0200
committerNoel Grandin <noel@peralex.com>2013-05-06 11:45:56 +0200
commit402c8f5f1efd053cc69556d63999955b3af4f41d (patch)
tree6f5dd611fa39962511feeaf1802d3776217f84fe /nlpsolver
parent7cba598a7ddcf02771ed31c8d8fce6f7e02ef715 (diff)
Java cleanup, close file handles when done with them
Change-Id: I79e6e0b8f53ae6f232c34aa8e833853d2ec24cf0
Diffstat (limited to 'nlpsolver')
-rw-r--r--nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalFile.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalFile.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalFile.java
index 14449e2fc078..03390e954690 100644
--- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalFile.java
+++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalFile.java
@@ -184,6 +184,7 @@ public class GlobalFile {
}
}
}
+ inReader.close();
}catch(Exception e){
//showMessage();
return null;//Uncertain data file error.