Skip to content

Commit

Permalink
mark hostname as nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
kimchy committed Dec 13, 2011
1 parent 4693b1e commit 16c4c8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 16c4c8c

Please sign in to comment.