summaryrefslogtreecommitdiffstats
path: root/vespajlib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2018-04-19 10:25:06 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2018-04-19 10:25:06 +0200
commit5b4ac97ede5fd477046fb66591f787c84267b64c (patch)
tree410f880d58f20ecee8cb7327bde30ebfdaf02b3e /vespajlib
parent12b9a15869be76e062ed17307fb91fe8eaac4b48 (diff)
Avoid duplicate referencing of name.
Diffstat (limited to 'vespajlib')
-rw-r--r--vespajlib/src/main/java/com/yahoo/tensor/evaluation/TypeContext.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/vespajlib/src/main/java/com/yahoo/tensor/evaluation/TypeContext.java b/vespajlib/src/main/java/com/yahoo/tensor/evaluation/TypeContext.java
index ff2e6318b37..1437fd91974 100644
--- a/vespajlib/src/main/java/com/yahoo/tensor/evaluation/TypeContext.java
+++ b/vespajlib/src/main/java/com/yahoo/tensor/evaluation/TypeContext.java
@@ -35,6 +35,8 @@ public interface TypeContext<NAMETYPE extends TypeContext.Name> {
this.name = name;
}
+ public String name() { return name; }
+
@Override
public String toString() { return name; }