No effective change - Code cleanup, simplified if

This commit is contained in:
Robin Bygrave
2015-07-31 13:23:49 +12:00
parent 88340618af
commit adef15ce2b
14 changed files with 19 additions and 79 deletions
@@ -184,15 +184,6 @@ public class OrmQueryDetailParser {
}
private boolean isFindFetchEnd() {
if (isFetch()) {
return true;
}
if (parser.isMatch("where")) {
return true;
}
if (parser.isMatch("order", "by")) {
return true;
}
return false;
return isFetch() || parser.isMatch("where") || parser.isMatch("order", "by");
}
}