No effective change - code cleanup - simplify if

This commit is contained in:
Robin Bygrave
2015-07-31 14:51:34 +12:00
parent 069b83b78d
commit 53cf6c162c
8 changed files with 17 additions and 71 deletions
@@ -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() {