No effective change - Code cleanup, simplified if

This commit is contained in:
Robin Bygrave committed 2015-07-31 13:23:49 +12:00
1 parent 88340618af
commit adef15ce2b
14 files changed
+19 -79

No files matched your search

@@ -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");
}
}