out.print(" severity=\"" + difference.getSeverity() + "\">"); out.print(" class=\"" + difference.getAffectedClass() + "\"");
out.print(" severity=\"" + difference.getSeverity() + "\""); out.print(" class=\"" + difference.getAffectedClass() + "\">");
    public void reportDiff(ApiDifference difference)    {        PrintStream out = getOutputStream();        out.print("  <" + DIFFERENCE);        out.print(" severity=\"" + difference.getSeverity() + "\">");        out.print(" class=\"" + difference.getAffectedClass() + "\"");        if (difference.getAffectedMethod() != null)        {            out.print(" method=\"" + difference.getAffectedMethod() + "\"");        }        if (difference.getAffectedField() != null)        {            out.print(" field=\"" + difference.getAffectedField() + "\"");        }        out.print(difference.getReport()); // TODO: XML escapes??        out.println("</" + DIFFERENCE + '>');    }