diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2018-01-22 12:01:07 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2018-01-25 13:33:57 +0000 |
commit | 04627ad0e7965605e43b399302702e5925b824d1 (patch) | |
tree | a0f4b362a7422d7c528bb2319288bafa3349d830 /config-model/src/main | |
parent | b236f48896cff15621a730f756812aa6f8f0c2f0 (diff) |
Cleanup after merge and changed interface.
Diffstat (limited to 'config-model/src/main')
-rw-r--r-- | config-model/src/main/java/com/yahoo/searchdefinition/RankingConstant.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config-model/src/main/java/com/yahoo/searchdefinition/RankingConstant.java b/config-model/src/main/java/com/yahoo/searchdefinition/RankingConstant.java index f8562a1c1b9..a2bdc6834c9 100644 --- a/config-model/src/main/java/com/yahoo/searchdefinition/RankingConstant.java +++ b/config-model/src/main/java/com/yahoo/searchdefinition/RankingConstant.java @@ -18,7 +18,7 @@ public class RankingConstant { private final String name; private TensorType tensorType = null; private String path = null; - private String fileRef = ""; + private String fileReference = ""; public PathType getPathType() { return pathType; @@ -33,7 +33,7 @@ public class RankingConstant { public RankingConstant(String name, TensorType type, String fileName) { this(name); this.tensorType = type; - this.fileName = fileName; + this.path = fileName; validate(); } @@ -60,7 +60,7 @@ public class RankingConstant { public String getName() { return name; } public String getFileName() { return path; } public String getUri() { return path; } - public String getFileReference() { return fileRef; } + public String getFileReference() { return fileReference; } public TensorType getTensorType() { return tensorType; } public String getType() { return tensorType.toString(); } @@ -75,7 +75,7 @@ public class RankingConstant { StringBuilder b = new StringBuilder(); b.append("constant '").append(name) .append(pathType == PathType.FILE ? "' from file '" : " from uri ").append(path) - .append("' with ref '").append(fileRef) + .append("' with ref '").append(fileReference) .append("' of type '").append(tensorType) .append("'"); return b.toString(); |