diff options
author | Håkon Hallingstad <hakon@yahooinc.com> | 2022-01-10 09:31:40 +0100 |
---|---|---|
committer | Håkon Hallingstad <hakon@yahooinc.com> | 2022-01-10 09:31:40 +0100 |
commit | 51397e3dbb55225bb31391f3263545347a2bcecd (patch) | |
tree | e1455f5b4e51310e72717c42b0cbc54027157e60 /node-admin/src | |
parent | fc12aa59ef675bf9391300074e97b57233797b5a (diff) |
Remove unused Variable
Diffstat (limited to 'node-admin/src')
-rw-r--r-- | node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/template/Variable.java | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/template/Variable.java b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/template/Variable.java deleted file mode 100644 index 6b1ed3d7c35..00000000000 --- a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/template/Variable.java +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -package com.yahoo.vespa.hosted.node.admin.task.util.template; - -import com.yahoo.vespa.hosted.node.admin.task.util.text.CursorRange; - -import java.util.Optional; - -/** - * TODO: remove - * @author hakonhall - */ -class Variable { - private final String name; - private final CursorRange firstVariableReferenceRange; - private Optional<String> value = Optional.empty(); - - Variable(String name, CursorRange firstVariableReferenceRange) { - this.name = name; - this.firstVariableReferenceRange = firstVariableReferenceRange; - } - - void set(String value) { this.value = Optional.of(value); } - Optional<String> get() { return value; } -} |