You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2022/03/21 20:50:25 UTC

[activemq-artemis] branch main updated: [ARTEMIS-3732]: ServerLocator disableFinalizeCheck method has been removed without being deprecated first.

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

clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new 3dc434a  [ARTEMIS-3732]: ServerLocator disableFinalizeCheck method has been removed without being deprecated first.
     new 7bdb3dc  This closes #3994
3dc434a is described below

commit 3dc434a3119e66c865148183200c4740f4996d47
Author: Emmanuel Hugonnet <eh...@redhat.com>
AuthorDate: Mon Mar 21 21:00:17 2022 +0100

    [ARTEMIS-3732]: ServerLocator disableFinalizeCheck method has been removed without being deprecated first.
    
    * Adding back empty default method for retro compatibility.
    
    Jira: https://issues.apache.org/jira/browse/ARTEMIS-3732
---
 .../org/apache/activemq/artemis/api/core/client/ServerLocator.java | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/client/ServerLocator.java b/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/client/ServerLocator.java
index 49e6c29..6120d60 100644
--- a/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/client/ServerLocator.java
+++ b/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/client/ServerLocator.java
@@ -48,6 +48,13 @@ public interface ServerLocator extends AutoCloseable {
    boolean isClosed();
 
    /**
+    * Just kept for compatibility.
+    */
+   @Deprecated
+   default void disableFinalizeCheck() {
+   }
+
+   /**
     * Creates a ClientSessionFactory using whatever load balancing policy is in force
     *
     * @return The ClientSessionFactory