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

View File

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