mirror of https://github.com/apache/poi.git
try to fix rat check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902313 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4b1fc4f153
commit
f212e7c14f
|
@ -647,8 +647,7 @@ rat {
|
||||||
"poi/src/main/resources/org/apache/poi/sl/draw/geom/presetShapeDefinitions.xml",
|
"poi/src/main/resources/org/apache/poi/sl/draw/geom/presetShapeDefinitions.xml",
|
||||||
"poi-ooxml/src/main/resources/org/apache/poi/xslf/usermodel/notesMaster.xml",
|
"poi-ooxml/src/main/resources/org/apache/poi/xslf/usermodel/notesMaster.xml",
|
||||||
"poi-ooxml/src/main/resources/org/apache/poi/xssf/usermodel/presetTableStyles.xml",
|
"poi-ooxml/src/main/resources/org/apache/poi/xssf/usermodel/presetTableStyles.xml",
|
||||||
"poi-ooxml-full/src/main/xmlschema/org/apache/poi/schemas/XAdES*.xsd",
|
"poi-ooxml-full/src/main/xmlschema/org/apache/poi/schemas/*.xsd",
|
||||||
"poi-ooxml-full/src/main/xmlschema/org/apache/poi/schemas/xmldsig-core-schema.xsd",
|
|
||||||
"poi-ooxml-full/src/main/xmlschema/org/apache/poi/xdgf/visio.xsd",
|
"poi-ooxml-full/src/main/xmlschema/org/apache/poi/xdgf/visio.xsd",
|
||||||
"osgi/README.md",
|
"osgi/README.md",
|
||||||
"src/resources/ooxml-lite-report.*",
|
"src/resources/ooxml-lite-report.*",
|
||||||
|
|
|
@ -57,11 +57,8 @@ public final class POIXMLDocumentHandler {
|
||||||
* @param base the entry point
|
* @param base the entry point
|
||||||
*/
|
*/
|
||||||
protected static void cursorRecursive(XmlObject base) {
|
protected static void cursorRecursive(XmlObject base) {
|
||||||
XmlCursor cur = base.newCursor();
|
try (XmlCursor cur = base.newCursor()) {
|
||||||
try {
|
|
||||||
cursorRecursive(cur);
|
cursorRecursive(cur);
|
||||||
} finally {
|
|
||||||
cur.dispose();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue