Skip to content

Commit

Permalink
Polishing.
Browse files Browse the repository at this point in the history
Reformat code.

See #1512
Original pull request: #1513
  • Loading branch information
mp911de committed May 17, 2023
1 parent e9459b8 commit 51af65a
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import java.util.Map;
import java.util.regex.Pattern;

import org.jetbrains.annotations.NotNull;
import org.springframework.data.domain.Sort;
import org.springframework.data.mapping.MappingException;
import org.springframework.data.mapping.PersistentPropertyPath;
Expand Down Expand Up @@ -51,8 +50,6 @@
import org.springframework.util.Assert;
import org.springframework.util.ClassUtils;

import static org.springframework.data.relational.core.sql.Expressions.*;

/**
* Maps {@link CriteriaDefinition} and {@link Sort} objects considering mapping metadata and dialect-specific
* conversion.
Expand Down Expand Up @@ -105,9 +102,7 @@ public String toSql(SqlIdentifier identifier) {
* @param sort must not be {@literal null}.
* @param entity related {@link RelationalPersistentEntity}, can be {@literal null}.
* @return
* @deprecated without replacement.
*/
@Deprecated(since = "3.2", forRemoval = true)
public Sort getMappedObject(Sort sort, @Nullable RelationalPersistentEntity<?> entity) {

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

return mappedOrder;

}


Expand Down

0 comments on commit 51af65a

Please sign in to comment.