From 16c4c8c726015c87f57ebb25e445c14d1d02e0c5 Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Tue, 13 Dec 2011 19:11:36 +0200 Subject: [PATCH] mark hostname as nullable --- .../elasticsearch/action/admin/cluster/node/info/NodeInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/action/admin/cluster/node/info/NodeInfo.java b/src/main/java/org/elasticsearch/action/admin/cluster/node/info/NodeInfo.java index d53a52bce46..07b4e3f6f5a 100644 --- a/src/main/java/org/elasticsearch/action/admin/cluster/node/info/NodeInfo.java +++ b/src/main/java/org/elasticsearch/action/admin/cluster/node/info/NodeInfo.java @@ -64,7 +64,7 @@ public class NodeInfo extends NodeOperationResponse { NodeInfo() { } - public NodeInfo(String hostname, DiscoveryNode node, ImmutableMap serviceAttributes, Settings settings, + public NodeInfo(@Nullable String hostname, DiscoveryNode node, ImmutableMap serviceAttributes, Settings settings, OsInfo os, ProcessInfo process, JvmInfo jvm, NetworkInfo network, TransportInfo transport, @Nullable HttpInfo http) { super(node);