This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 03483e9f98 Fix IDE warnings
03483e9f98 is described below
commit 03483e9f98b0b7b5ca4cb9b02fce5ec48ee79e35
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]