This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ws-wss4j.git
The following commit(s) were added to refs/heads/master by this push:
new d3d5aa612 Fixing codeql warning
d3d5aa612 is described below
commit d3d5aa612611acec88664ec51dee297d10a63ab5
Author: Colm O hEigeartaigh <[email protected]>
AuthorDate: Fri Jan 23 07:17:18 2026 +0000
Fixing codeql warning
---
.../test/java/org/apache/wss4j/stax/test/InteroperabilityTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/InteroperabilityTest.java
b/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/InteroperabilityTest.java
index b633b021f..15dca425a 100644
---
a/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/InteroperabilityTest.java
+++
b/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/InteroperabilityTest.java
@@ -1304,7 +1304,7 @@ public class InteroperabilityTest extends
AbstractTestBase {
} catch (XMLStreamException ex) {
int k = 0;
Throwable t = ex.getCause();
- while (t != null && k < 100) {
+ while (t != null && k++ < 100) {
StringWriter stringWriter = new StringWriter();
PrintWriter pw = new PrintWriter(stringWriter);
ex.printStackTrace(pw);
@@ -1368,4 +1368,4 @@ public class InteroperabilityTest extends
AbstractTestBase {
Node node;
int index;
}
-}
\ No newline at end of file
+}