diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2017-09-04 18:03:04 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2017-09-13 15:50:53 +0200 |
commit | 4b0d1ba16eccdc9e79154f31549d437ad1be6e0b (patch) | |
tree | 24ebfa43ffbed47cdca32746addb7022396cf4e3 /server/sonar-main | |
parent | fc4fcf2ceb0572e3b5b2862563285daf65ff0b97 (diff) | |
download | sonarqube-4b0d1ba16eccdc9e79154f31549d437ad1be6e0b.tar.gz sonarqube-4b0d1ba16eccdc9e79154f31549d437ad1be6e0b.zip |
SONAR-9741 remove NodeHealth#date field
Diffstat (limited to 'server/sonar-main')
-rw-r--r-- | server/sonar-main/src/main/java/org/sonar/application/health/SearchNodeHealthProvider.java | 3 |
1 files changed, 0 insertions, 3 deletions
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(); } } |