You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by bs...@apache.org on 2019/02/04 18:39:01 UTC

[geode] branch develop updated: GEODE-4592 Remove singleton calls from product code

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

bschuchardt pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new beb493f  GEODE-4592 Remove singleton calls from product code
beb493f is described below

commit beb493f5923ed1c2ca85ca41de5a6ff4e5172389
Author: Bruce Schuchardt <bs...@pivotal.io>
AuthorDate: Mon Feb 4 10:37:14 2019 -0800

    GEODE-4592 Remove singleton calls from product code
    
    in org.apache.geode.distributed.internal.membership.gms.fd
    
    Removed unused reference to InternalDistributedSystem from
    GMSHealthMonitor.
---
 .../geode/distributed/internal/membership/gms/fd/GMSHealthMonitor.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/geode-core/src/main/java/org/apache/geode/distributed/internal/membership/gms/fd/GMSHealthMonitor.java b/geode-core/src/main/java/org/apache/geode/distributed/internal/membership/gms/fd/GMSHealthMonitor.java
index d880501..22e3b73 100644
--- a/geode-core/src/main/java/org/apache/geode/distributed/internal/membership/gms/fd/GMSHealthMonitor.java
+++ b/geode-core/src/main/java/org/apache/geode/distributed/internal/membership/gms/fd/GMSHealthMonitor.java
@@ -60,7 +60,6 @@ import org.apache.geode.SystemConnectException;
 import org.apache.geode.distributed.DistributedMember;
 import org.apache.geode.distributed.internal.DMStats;
 import org.apache.geode.distributed.internal.DistributionMessage;
-import org.apache.geode.distributed.internal.InternalDistributedSystem;
 import org.apache.geode.distributed.internal.membership.InternalDistributedMember;
 import org.apache.geode.distributed.internal.membership.NetView;
 import org.apache.geode.distributed.internal.membership.gms.GMSMember;
@@ -513,8 +512,6 @@ public class GMSHealthMonitor implements HealthMonitor, MessageHandler {
    */
   boolean doTCPCheckMember(InternalDistributedMember suspectMember, int port) {
     Socket clientSocket = null;
-    InternalDistributedSystem internalDistributedSystem =
-        InternalDistributedSystem.getConnectedInstance();
     try {
       logger.debug("Checking member {} with TCP socket connection {}:{}.", suspectMember,
           suspectMember.getInetAddress(), port);