File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed
intercepting-filter/src/main/java/com/iluwatar Expand file tree Collapse file tree 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) {
2525 }
2626
2727 public String execute (Order order ) {
28-
2928 if (chain != null ) {
3029 return chain .execute (order );
3130 } else {
3231 return "RUNNING..." ;
3332 }
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- // }
6233 }
6334}
You can’t perform that action at this time.
0 commit comments