Polishing.

Remove duplicate and unused code.

See #1695
This commit is contained in:
Mark Paluch
2023-12-14 08:07:29 +01:00
parent 04bf61598e
commit 95d3b63b10
3 changed files with 23 additions and 24 deletions

View File

@@ -416,7 +416,6 @@ public class QueryMapper {
PersistentPropertyAccessor<Object> embeddedAccessor = persistentEntity.getPropertyAccessor(criteria.getValue());
String prefix = embeddedProperty.getEmbeddedPrefix();
Condition condition = null;
for (RelationalPersistentProperty nestedProperty : persistentEntity) {

View File

@@ -61,8 +61,7 @@ class SqlContext {
Column getColumn(AggregatePath path) {
AggregatePath.ColumnInfo columnInfo = path.getColumnInfo();
AggregatePath.ColumnInfo columnInfo1 = path.getColumnInfo();
return getTable(path).column(columnInfo1.name()).as(columnInfo.alias());
return getTable(path).column(columnInfo.name()).as(columnInfo.alias());
}
Column getReverseColumn(AggregatePath path) {