This commit is contained in:
地平线
2015-09-15 15:27:43 +08:00
parent ac562ad16d
commit 1da62db6ab

View File

@@ -91,10 +91,11 @@ public final class Flipper implements Serializable {
return sort;
}
public void putSortIfEmpty(String sort) {
public Flipper putSortIfEmpty(String sort) {
if (this.sort == null || this.sort.isEmpty()) {
this.sort = sort;
}
return this;
}
public void setSort(String sort) {