import org.apache.tools.ant.util.DateUtils;
import org.gradle.api.UncheckedIOException;
import org.gradle.api.internal.xml.SimpleXmlWriter;
import org.gradle.api.tasks.testing.TestOutputEvent;
import org.gradle.api.tasks.testing.TestResult;
<BUG>import java.io.*;
import java.util.Set;</BUG>
public class SaxJUnitXmlResultWriter {
private final String hostName;
private final TestResultsProvider testResultsProvider;

import org.apache.tools.ant.util.DateUtils;
import org.gradle.api.UncheckedIOException;
import org.gradle.api.internal.xml.SimpleXmlWriter;
import org.gradle.api.tasks.testing.TestOutputEvent;
import org.gradle.api.tasks.testing.TestResult;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.Set;
public class SaxJUnitXmlResultWriter {
private final String hostName;
private final TestResultsProvider testResultsProvider;
