Skip to content

Commit 51af65a

Browse files
committed
Polishing.
Reformat code. See #1512 Original pull request: #1513
1 parent e9459b8 commit 51af65a

File tree

1 file changed

+0
-6
lines changed
  • spring-data-r2dbc/src/main/java/org/springframework/data/r2dbc/query

1 file changed

+0
-6
lines changed

spring-data-r2dbc/src/main/java/org/springframework/data/r2dbc/query/QueryMapper.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import java.util.Map;
2323
import java.util.regex.Pattern;
2424

25-
import org.jetbrains.annotations.NotNull;
2625
import org.springframework.data.domain.Sort;
2726
import org.springframework.data.mapping.MappingException;
2827
import org.springframework.data.mapping.PersistentPropertyPath;
@@ -51,8 +50,6 @@
5150
import org.springframework.util.Assert;
5251
import org.springframework.util.ClassUtils;
5352

54-
import static org.springframework.data.relational.core.sql.Expressions.*;
55-
5653
/**
5754
* Maps {@link CriteriaDefinition} and {@link Sort} objects considering mapping metadata and dialect-specific
5855
* conversion.
@@ -105,9 +102,7 @@ public String toSql(SqlIdentifier identifier) {
105102
* @param sort must not be {@literal null}.
106103
* @param entity related {@link RelationalPersistentEntity}, can be {@literal null}.
107104
* @return
108-
* @deprecated without replacement.
109105
*/
110-
@Deprecated(since = "3.2", forRemoval = true)
111106
public Sort getMappedObject(Sort sort, @Nullable RelationalPersistentEntity<?> entity) {
112107

113108
if (entity == null) {
@@ -151,7 +146,6 @@ public List<OrderByField> getMappedSort(Table table, Sort sort, @Nullable Relati
151146
}
152147

153148
return mappedOrder;
154-
155149
}
156150

157151

0 commit comments

Comments
 (0)