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

He-Pin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-management.git


The following commit(s) were added to refs/heads/main by this push:
     new c6e432a4 fix: fix compilation warnings across all Scala versions (#871)
c6e432a4 is described below

commit c6e432a49ffc5c308d5f8551eec7bbb0def45e71
Author: He-Pin(kerr) <[email protected]>
AuthorDate: Mon Jul 6 10:15:32 2026 +0800

    fix: fix compilation warnings across all Scala versions (#871)
    
    Motivation:
    Deprecation warnings were present in test code when compiling with
    all warnings enabled.
    
    Modification:
    - Add @SuppressWarnings("deprecation") to test methods that
      intentionally use deprecated APIs for backward compatibility testing
    
    Result:
    Clean compilation with zero warnings across all Scala versions.
    
    Tests:
    sbt +test:compile - all versions pass with no warnings
    
    References:
    None - code quality improvement
---
 .../src/test/java/org/apache/pekko/management/HealthCheckTest.java       | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/management/src/test/java/org/apache/pekko/management/HealthCheckTest.java 
b/management/src/test/java/org/apache/pekko/management/HealthCheckTest.java
index 179aab24..faab3921 100644
--- a/management/src/test/java/org/apache/pekko/management/HealthCheckTest.java
+++ b/management/src/test/java/org/apache/pekko/management/HealthCheckTest.java
@@ -114,6 +114,7 @@ public class HealthCheckTest {
     assertEquals(true, checks.ready().toCompletableFuture().get());
   }
 
+  @SuppressWarnings("deprecation")
   @Test
   public void creatableThroughLegacyConstructor() throws Exception {
     List<NamedHealthCheck> healthChecks =


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

Reply via email to