#43 Removed some commented out code.
This commit is contained in:
parent
78c2bc274b
commit
484e1ddfca
@ -25,39 +25,10 @@ public class FilterChain {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String execute(Order order) {
|
public String execute(Order order) {
|
||||||
|
|
||||||
if (chain != null) {
|
if (chain != null) {
|
||||||
return chain.execute(order);
|
return chain.execute(order);
|
||||||
} else {
|
} else {
|
||||||
return "RUNNING...";
|
return "RUNNING...";
|
||||||
}
|
}
|
||||||
|
|
||||||
// String tempout[] = new String[filters.size()];
|
|
||||||
//
|
|
||||||
// String tempin[] = request.split("&");
|
|
||||||
// int i = 0;
|
|
||||||
// try {
|
|
||||||
// for (Filter filter : filters) {
|
|
||||||
// tempout[i] = null;
|
|
||||||
// tempout[i++] = filter.execute(tempin);
|
|
||||||
// }
|
|
||||||
// } catch (Exception e) {
|
|
||||||
// return "NOT ENOUGHT INPUT";
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// if (tempout[4] == null) {
|
|
||||||
// return "INVALID ORDER!";
|
|
||||||
// } else if (tempout[3] == null) {
|
|
||||||
// return "INVALID DEPOSIT NUMBER!";
|
|
||||||
// } else if (tempout[2] == null) {
|
|
||||||
// return "INVALID ADRDESS!";
|
|
||||||
// } else if (tempout[1] == null) {
|
|
||||||
// return "INVALID Contact Number!";
|
|
||||||
// } else if (tempout[0] == null) {
|
|
||||||
// return "INVALID Name!";
|
|
||||||
// } else {
|
|
||||||
// target.execute(tempout);
|
|
||||||
// return "RUNNING...";
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user