Skip to content

Commit 484e1dd

Browse files
committed
iluwatar#43 Removed some commented out code.
1 parent 78c2bc2 commit 484e1dd

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

intercepting-filter/src/main/java/com/iluwatar/FilterChain.java

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)