更新
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package quant.rich.emoney.patch.okhttp;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.*;
|
||||
import java.util.function.*;
|
||||
import java.util.regex.Pattern;
|
||||
@@ -19,7 +18,7 @@ public class PatchOkHttpRule {
|
||||
@Getter
|
||||
@Setter
|
||||
@Accessors(chain=true)
|
||||
private Serializable id;
|
||||
private Integer id;
|
||||
private final Predicate<RequestContext> condition;
|
||||
private final List<HeaderAction> actions;
|
||||
|
||||
@@ -171,7 +170,6 @@ public class PatchOkHttpRule {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public boolean equals(PatchOkHttpRule other) {
|
||||
if (other == null) return false;
|
||||
if (this.id == null || other.id == null) return false;
|
||||
|
||||
Reference in New Issue
Block a user