ICU-4900 fix build failure

X-SVN-Rev: 18733
This commit is contained in:
Ram Viswanadha 2005-10-28 18:18:14 +00:00
parent 9b0465f473
commit 6789e15b2c

View File

@ -1015,7 +1015,11 @@ public class TestFmwk extends AbstractTestLog {
*/
public static TestParams create(String[] args, PrintWriter log) {
TestParams params = new TestParams();
params.log = log == null ? new NullWriter() : new ASCIIWriter(log, true);
if(log == null){
params.log = new NullWriter();
}else{
params.log = new ASCIIWriter(log, true);
}
boolean usageError = false;
String filter = null;
int wx = 0; // write argets.