Skip to content

Commit 1fc8879

Browse files
author
bnasslahsen
committed
code review
1 parent 2b06993 commit 1fc8879

File tree

1 file changed

+3
-3
lines changed
  • springdoc-openapi-data-rest/src/main/java/org/springdoc/core/converters

1 file changed

+3
-3
lines changed

springdoc-openapi-data-rest/src/main/java/org/springdoc/core/converters/Pageable.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ public List<String> getSort() {
6767
}
6868

6969
public void setSort(List<String> sort) {
70-
if (sort == null) {
70+
if (sort == null)
7171
this.sort.clear();
72-
}
73-
this.sort = sort;
72+
else
73+
this.sort = sort;
7474
}
7575

7676
public void addSort(String sort) {

0 commit comments

Comments
 (0)