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

markt-asf pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new d9d6e3709f Fix IDE warnings
d9d6e3709f is described below

commit d9d6e3709f1fb58817d12d267bb6bebb8efc36eb
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Oct 1 11:59:25 2026 +0100

    Fix IDE warnings
---
 test/org/apache/catalina/ha/deploy/TestFileMessageFactory.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/org/apache/catalina/ha/deploy/TestFileMessageFactory.java 
b/test/org/apache/catalina/ha/deploy/TestFileMessageFactory.java
index b923fed699..170cb8f4b4 100644
--- a/test/org/apache/catalina/ha/deploy/TestFileMessageFactory.java
+++ b/test/org/apache/catalina/ha/deploy/TestFileMessageFactory.java
@@ -69,7 +69,7 @@ public class TestFileMessageFactory {
             Assert.assertEquals("Number of messages", expectedCount, 
messageCount);
             // The transfer must be signalled complete by the last message,
             // otherwise the receiving node never deploys the WAR
-            Assert.assertEquals(messageCount > 0, complete);
+            Assert.assertEquals(Boolean.valueOf(messageCount > 0), 
Boolean.valueOf(complete));
             Assert.assertArrayEquals("Target file content", content, 
Files.readAllBytes(target.toPath()));
         } finally {
             if (!source.delete()) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to