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