This is an automated email from the ASF dual-hosted git repository.

tilman pushed a commit to branch branch_2x
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/branch_2x by this push:
     new 8b6fb9f65 TIKA-4471: fix beforeall
8b6fb9f65 is described below

commit 8b6fb9f653c2f7bb329293f2649c515b61efb67c
Author: Tilman Hausherr <[email protected]>
AuthorDate: Tue Sep 9 13:37:47 2025 +0200

    TIKA-4471: fix beforeall
---
 .../src/test/java/org/apache/tika/utils/XMLReaderUtilsTest.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/tika-core/src/test/java/org/apache/tika/utils/XMLReaderUtilsTest.java 
b/tika-core/src/test/java/org/apache/tika/utils/XMLReaderUtilsTest.java
index b6ae25cbc..25da0e4f4 100644
--- a/tika-core/src/test/java/org/apache/tika/utils/XMLReaderUtilsTest.java
+++ b/tika-core/src/test/java/org/apache/tika/utils/XMLReaderUtilsTest.java
@@ -28,7 +28,7 @@ import javax.xml.stream.XMLEventReader;
 import javax.xml.stream.XMLStreamException;
 
 import org.junit.jupiter.api.AfterAll;
-import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.BeforeAll;
 import org.junit.jupiter.api.Test;
 import org.w3c.dom.Document;
 import org.w3c.dom.Node;
@@ -91,8 +91,8 @@ public class XMLReaderUtilsTest {
 
     private static Locale defaultLocale;
 
-    @BeforeEach
-    public void beforeEach() {
+    @BeforeAll
+    public static void startUp() {
         defaultLocale = Locale.getDefault();
         Locale.setDefault(Locale.US);
     }

Reply via email to