return null;
}
return new Node(response);
}
public static List<Node> all() throws IOException, APIException {
<BUG>List<Node> nodes = Lists.newArrayList();
NodeResponse response = Api.get(INITIAL_NODE, "/cluster/nodes/", NodeResponse.class);
</BUG>
for (NodeSummaryResponse nsr : response.nodes) {
<BUG>nodes.add(new Node(nsr));
}</BUG>
return nodes;

return null;
} catch (APIException e) {
return null;
