diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-05-09 20:59:53 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-05-09 22:28:44 +0200 |
commit | 261b1ad80aae0dd9aba50190a4cf99011cc18fb9 (patch) | |
tree | f37e5e85296e64957d743671a2675b1909f1b173 /nlpsolver | |
parent | dd484af7cfb472a39c9afebc6dad9ea28d1224c4 (diff) |
'!= false' is redundant, and confusing - kill it.
Change-Id: I1a52b9ce7b590e8cf274a2daaa1c55cfc1efe48b
Diffstat (limited to 'nlpsolver')
-rw-r--r-- | nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalFile.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalFile.java b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalFile.java index 03390e954690..b494d462bb6d 100644 --- a/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalFile.java +++ b/nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/global/GlobalFile.java @@ -144,11 +144,11 @@ public class GlobalFile { StringTokenizer st; String s; boolean start = false; - while(inReader.ready()!=false){ + while(inReader.ready()){ st = new StringTokenizer(inReader.readLine()); over:{ while(!st.hasMoreTokens()){//Justify blank lines. - if(inReader.ready()!=false){ + if(inReader.ready()){ st = new StringTokenizer(inReader.readLine()); }else break over; |