avoid npe

This commit is contained in:
Jeremy Long
2015-11-24 05:43:45 -05:00
parent 51d81fab5d
commit a3adf71a1d

View File

@@ -63,7 +63,9 @@ public class AntLoggerAdapter extends MarkerIgnoringBase {
@Override
public void trace(String msg) {
task.log(msg, Project.MSG_VERBOSE);
if (task != null) {
task.log(msg, Project.MSG_VERBOSE);
}
}
@Override