mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#1738 - Refactor simplify switch and various
This commit is contained in:
1 parent
e6c9f151c1
commit
8bfae9deef
17 files changed
+40
-79
No files matched your search
@@ -261,10 +261,7 @@ class EqlAdapter<T> extends EQLBaseListener {
|
||||
}
|
||||
|
||||
private boolean isValue(String text) {
|
||||
if (text.length() == 1 && (text.equals("(") || text.equals(")") || text.equals(","))) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
return text.length() != 1 || (!text.equals("(") && !text.equals(")") && !text.equals(","));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user