From 4b0d1ba16eccdc9e79154f31549d437ad1be6e0b Mon Sep 17 00:00:00 2001 From: Sébastien Lesaint Date: Mon, 4 Sep 2017 18:03:04 +0200 Subject: SONAR-9741 remove NodeHealth#date field --- .../java/org/sonar/application/health/SearchNodeHealthProvider.java | 3 --- 1 file changed, 3 deletions(-) (limited to 'server/sonar-main/src') diff --git a/server/sonar-main/src/main/java/org/sonar/application/health/SearchNodeHealthProvider.java b/server/sonar-main/src/main/java/org/sonar/application/health/SearchNodeHealthProvider.java index d1e184ad436..93657803762 100644 --- a/server/sonar-main/src/main/java/org/sonar/application/health/SearchNodeHealthProvider.java +++ b/server/sonar-main/src/main/java/org/sonar/application/health/SearchNodeHealthProvider.java @@ -33,12 +33,10 @@ import static org.sonar.cluster.ClusterProperties.CLUSTER_NODE_NAME; import static org.sonar.cluster.ClusterProperties.CLUSTER_NODE_PORT; public class SearchNodeHealthProvider implements NodeHealthProvider { - private final System2 system2; private final ClusterAppState clusterAppState; private final NodeDetails nodeDetails; public SearchNodeHealthProvider(Props props, System2 system2, ClusterAppState clusterAppState, NetworkUtils networkUtils) { - this.system2 = system2; this.clusterAppState = clusterAppState; this.nodeDetails = NodeDetails.newNodeDetailsBuilder() .setType(NodeDetails.Type.SEARCH) @@ -68,7 +66,6 @@ public class SearchNodeHealthProvider implements NodeHealthProvider { } return builder .setDetails(nodeDetails) - .setDate(system2.now()) .build(); } } -- cgit v1.2.3