Suddenly multiple outputs not writing any output to the destination.
I use a custom implementation of multiple outputs, where, I just changed:
if((ch == '/') || (ch == ':')||(ch == '-')||(ch =='.'))
{
continue;
}
in the method, as shown below. But the same was working all along, and suddenly it is not working. It is not writing anything to the output directory:
/home/users/mlakshm/
pls help!!!
private static void checkTokenName(String namedOutput) {
if (namedOutput == null || namedOutput.length() == 0) {
throw new IllegalArgumentException(
"Name cannot be NULL or emtpy");
}
for (char ch : namedOutput.toCharArray()) {
if ((ch >= 'A') && (ch <= 'Z')) {
continue;
}
if ((ch >= 'a') && (ch <= 'z')) {
continue;
}
if ((ch >= '0') && (ch <= '9')) {
continue;
}
if((ch == '/') || (ch == ':')||(ch == '-')||(ch =='.'))
{
continue;
}
throw new IllegalArgumentException(
"Name cannot be have a '" + ch + "' char");
}
}