From 402c8f5f1efd053cc69556d63999955b3af4f41d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 3 May 2013 15:18:08 +0200 Subject: Java cleanup, close file handles when done with them Change-Id: I79e6e0b8f53ae6f232c34aa8e833853d2ec24cf0 --- .../EvolutionarySolver/src/net/adaptivebox/global/GlobalFile.java | 1 + 1 file changed, 1 insertion(+) (limited to 'nlpsolver') 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. -- cgit