mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
No effective change - code cleanup - simplify if
This commit is contained in:
@@ -212,10 +212,7 @@ public final class DRawSqlSelectColumnsParser {
|
||||
}
|
||||
|
||||
private boolean isMatch(BeanProperty prop, String columnLabel) {
|
||||
if (columnLabel.equalsIgnoreCase(prop.getDbColumn())) {
|
||||
return true;
|
||||
}
|
||||
return columnLabel.equalsIgnoreCase(prop.getName());
|
||||
return columnLabel.equalsIgnoreCase(prop.getDbColumn()) || columnLabel.equalsIgnoreCase(prop.getName());
|
||||
}
|
||||
|
||||
private int nextComma() {
|
||||
|
||||
Reference in New Issue
Block a user