diff --git a/poi-ooxml/src/test/java/org/apache/poi/xssf/extractor/TestXSSFExportToXML.java b/poi-ooxml/src/test/java/org/apache/poi/xssf/extractor/TestXSSFExportToXML.java index e4c5e6015d..9100040136 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/xssf/extractor/TestXSSFExportToXML.java +++ b/poi-ooxml/src/test/java/org/apache/poi/xssf/extractor/TestXSSFExportToXML.java @@ -677,7 +677,7 @@ public final class TestXSSFExportToXML { } } - private class XPathNSContext implements NamespaceContext { + private static class XPathNSContext implements NamespaceContext { final Map nsMap = new HashMap<>(); XPathNSContext() {