File tree 1 file changed +0
-29
lines changed
intercepting-filter/src/main/java/com/iluwatar
1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -25,39 +25,10 @@ public void addFilter(Filter filter) {
25
25
}
26
26
27
27
public String execute (Order order ) {
28
-
29
28
if (chain != null ) {
30
29
return chain .execute (order );
31
30
} else {
32
31
return "RUNNING..." ;
33
32
}
34
-
35
- // String tempout[] = new String[filters.size()];
36
- //
37
- // String tempin[] = request.split("&");
38
- // int i = 0;
39
- // try {
40
- // for (Filter filter : filters) {
41
- // tempout[i] = null;
42
- // tempout[i++] = filter.execute(tempin);
43
- // }
44
- // } catch (Exception e) {
45
- // return "NOT ENOUGHT INPUT";
46
- // }
47
- //
48
- // if (tempout[4] == null) {
49
- // return "INVALID ORDER!";
50
- // } else if (tempout[3] == null) {
51
- // return "INVALID DEPOSIT NUMBER!";
52
- // } else if (tempout[2] == null) {
53
- // return "INVALID ADRDESS!";
54
- // } else if (tempout[1] == null) {
55
- // return "INVALID Contact Number!";
56
- // } else if (tempout[0] == null) {
57
- // return "INVALID Name!";
58
- // } else {
59
- // target.execute(tempout);
60
- // return "RUNNING...";
61
- // }
62
33
}
63
34
}
You can’t perform that action at this time.
0 commit comments