diff options
author | Martin Polden <mpolden@mpolden.no> | 2018-08-09 12:57:34 +0200 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2018-08-09 13:32:00 +0200 |
commit | 9620180bc4bca561d8815bf2d8833a67be27de23 (patch) | |
tree | cab3db54eefbbec0b3176ef92fdab65850dbfe8c /node-repository | |
parent | 1efbf2120d9df1b11fecf80b1adbed80c26bf7a5 (diff) |
Fix javadoc
Diffstat (limited to 'node-repository')
-rw-r--r-- | node-repository/src/main/java/com/yahoo/vespa/hosted/provision/Node.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/Node.java b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/Node.java index 09c7f6a88b1..455494b3d49 100644 --- a/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/Node.java +++ b/node-repository/src/main/java/com/yahoo/vespa/hosted/provision/Node.java @@ -154,7 +154,7 @@ public final class Node { return with(allocation.get().unretire()); } - /** Returns a copy of this with the current restart generation set to generation */ + /** Returns a copy of this with the restart generation set to generation */ public Node withRestart(Generation generation) { final Optional<Allocation> allocation = this.allocation; if ( ! allocation.isPresent()) @@ -178,13 +178,13 @@ public final class Node { return new Node(openStackId, ipAddresses, additionalIpAddresses, hostname, parentHostname, flavor, status, state, allocation, history, type); } - /** Returns a copy of this with the current reboot generation set to generation */ + /** Returns a copy of this with the reboot generation set to generation */ public Node withReboot(Generation generation) { return new Node(openStackId, ipAddresses, additionalIpAddresses, hostname, parentHostname, flavor, status.withReboot(generation), state, allocation, history, type); } - /** Returns a c opy of this with the openStackId set */ + /** Returns a copy of this with the openStackId set */ public Node withOpenStackId(String openStackId) { return new Node(openStackId, ipAddresses, additionalIpAddresses, hostname, parentHostname, flavor, status, state, allocation, history, type); } |