summaryrefslogtreecommitdiff
path: root/nlpsolver
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-05-09 20:59:53 +0200
committerJan Holesovsky <kendy@collabora.com>2014-05-09 22:28:44 +0200
commit261b1ad80aae0dd9aba50190a4cf99011cc18fb9 (patch)
treef37e5e85296e64957d743671a2675b1909f1b173 /nlpsolver
parentdd484af7cfb472a39c9afebc6dad9ea28d1224c4 (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.java4
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;