You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2026/10/01 11:00:05 UTC

(tomcat) branch 9.0.x updated: Fix IDE warnings

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

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


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

commit 1d669b1d1a81461df8917d8ea83de41590404066
Author: Mark Thomas <ma...@apache.org>
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org