This commit is contained in:
RedKale
2016-06-23 09:25:08 +08:00
parent 57f2e1039e
commit 1b8bcc0079

View File

@@ -104,20 +104,6 @@ public final class Flipper implements Serializable, Cloneable {
return sort;
}
/**
* 使用 sortIfEmpty 代替
* @param sort
* @return
* @deprecated
*/
@Deprecated
public Flipper putSortIfEmpty(String sort) {
if (this.sort == null || this.sort.isEmpty()) {
this.sort = sort;
}
return this;
}
public Flipper sortIfEmpty(String sort) {
if (this.sort == null || this.sort.isEmpty()) {
this.sort = sort;