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

veithen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ws-axiom.git


The following commit(s) were added to refs/heads/master by this push:
     new 850ea5ecd Remove dead code
850ea5ecd is described below

commit 850ea5ecd196d7428a25e05fc7885e38a9dc148a
Author: Andreas Veithen-Knowles <[email protected]>
AuthorDate: Sat Mar 28 12:05:47 2026 +0000

    Remove dead code
    
    mutationCount is never actually updated.
---
 .../src/main/java/org/apache/axiom/ts/dom/w3c/W3CTestCase.java        | 4 ----
 1 file changed, 4 deletions(-)

diff --git 
a/testing/dom-testsuite/src/main/java/org/apache/axiom/ts/dom/w3c/W3CTestCase.java
 
b/testing/dom-testsuite/src/main/java/org/apache/axiom/ts/dom/w3c/W3CTestCase.java
index 079d4b2e8..8fdf965d6 100644
--- 
a/testing/dom-testsuite/src/main/java/org/apache/axiom/ts/dom/w3c/W3CTestCase.java
+++ 
b/testing/dom-testsuite/src/main/java/org/apache/axiom/ts/dom/w3c/W3CTestCase.java
@@ -32,9 +32,5 @@ public final class W3CTestCase extends MatrixTestCase {
     @Override
     protected void runTest() throws Throwable {
         test.runTest();
-        int mutationCount = test.getMutationCount();
-        if (mutationCount != 0) {
-            fail("Document loaded with willBeModified='false' was modified in 
course of test.");
-        }
     }
 }

Reply via email to