refactor a little
This commit is contained in:
parent
60b67eb3d2
commit
4a8c9df788
|
@ -3,7 +3,6 @@ package org.bench4q.master.scriptrecord.httpcapture.generator;
|
|||
public class ChildrenUrl {
|
||||
private String url;
|
||||
private int parentBatchId;
|
||||
private int storeBatchId;
|
||||
|
||||
public String getUrl() {
|
||||
return url;
|
||||
|
@ -21,18 +20,8 @@ public class ChildrenUrl {
|
|||
this.parentBatchId = parentBatchId;
|
||||
}
|
||||
|
||||
public int getStoreBatchId() {
|
||||
return storeBatchId;
|
||||
}
|
||||
|
||||
public void setStoreBatchId(int storeBatchId) {
|
||||
this.storeBatchId = storeBatchId;
|
||||
}
|
||||
|
||||
public ChildrenUrl createChilldUrl(String url, int parentBatchId,
|
||||
int storeBatchId) {
|
||||
public ChildrenUrl createChilldUrl(String url, int parentBatchId) {
|
||||
ChildrenUrl ret = new ChildrenUrl();
|
||||
ret.setStoreBatchId(storeBatchId);
|
||||
ret.setParentBatchId(parentBatchId);
|
||||
ret.setUrl(url);
|
||||
return ret;
|
||||
|
|
|
@ -106,7 +106,6 @@ public class TestParentRequest {
|
|||
private ChildrenUrl createChildrenUrl(String url, int parentBatchId) {
|
||||
ChildrenUrl childrenUrl = new ChildrenUrl();
|
||||
childrenUrl.setParentBatchId(parentBatchId);
|
||||
childrenUrl.setStoreBatchId(1);
|
||||
childrenUrl.setUrl(url);
|
||||
return childrenUrl;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue