This commit is contained in:
@@ -104,20 +104,6 @@ public final class Flipper implements Serializable, Cloneable {
|
|||||||
return sort;
|
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) {
|
public Flipper sortIfEmpty(String sort) {
|
||||||
if (this.sort == null || this.sort.isEmpty()) {
|
if (this.sort == null || this.sort.isEmpty()) {
|
||||||
this.sort = sort;
|
this.sort = sort;
|
||||||
|
|||||||
Reference in New Issue
Block a user