Remove unnecessary visit on Channel
This commit is contained in:
parent
172075612b
commit
0b240ab296
@ -107,8 +107,4 @@ public abstract class ChannelBase implements Observable {
|
||||
public ProductType getProductType() {
|
||||
return productType;
|
||||
}
|
||||
|
||||
public String accept(ReportTextVisitor visitor){
|
||||
return visitor.visit(this);
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,11 +12,6 @@ public class FoodChainReportVisitor implements ReportTextVisitor {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String visit(ChannelBase channel) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String visit(Product product) {
|
||||
return null;
|
||||
|
||||
@ -12,11 +12,6 @@ public class PartiesReportVisitor implements ReportTextVisitor {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String visit(ChannelBase channel) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String visit(Product product) {
|
||||
return null;
|
||||
|
||||
@ -13,8 +13,6 @@ public interface ReportTextVisitor {
|
||||
|
||||
String visit(NodeBase node);
|
||||
|
||||
String visit(ChannelBase channel);
|
||||
|
||||
String visit(Product product);
|
||||
|
||||
String visit(ProductTransaction transaction);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user