mark hostname as nullable

This commit is contained in:
Shay Banon 2011-12-13 19:11:36 +02:00
parent 4693b1e875
commit 16c4c8c726
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ public class NodeInfo extends NodeOperationResponse {
NodeInfo() {
}
public NodeInfo(String hostname, DiscoveryNode node, ImmutableMap<String, String> serviceAttributes, Settings settings,
public NodeInfo(@Nullable String hostname, DiscoveryNode node, ImmutableMap<String, String> serviceAttributes, Settings settings,
OsInfo os, ProcessInfo process, JvmInfo jvm, NetworkInfo network,
TransportInfo transport, @Nullable HttpInfo http) {
super(node);