提交 7a12985f 编写于 作者: K kohsuke

Not using SAXParserFactory after all.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3898 71c3de6d-444a-0410-be80-ed276b4c234a
上级 f87ae424
......@@ -1725,8 +1725,6 @@ public final class Hudson extends View implements ItemGroup<TopLevelItem>, Node
*/
public static List<LogRecord> logRecords = Collections.emptyList(); // initialized to dummy value to avoid NPE
private static final SAXParserFactory JAXP = SAXParserFactory.newInstance();
/**
* Thread-safe reusable {@link XStream}.
*/
......@@ -1748,6 +1746,5 @@ public final class Hudson extends View implements ItemGroup<TopLevelItem>, Node
// for backward compatibility with <1.75, recognize the tag name "view" as well.
XSTREAM.alias("view", ListView.class);
XSTREAM.alias("listView", ListView.class);
JAXP.setNamespaceAware(true);
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册