From 04627ad0e7965605e43b399302702e5925b824d1 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Mon, 22 Jan 2018 12:01:07 +0000 Subject: Cleanup after merge and changed interface. --- .../src/main/java/com/yahoo/searchdefinition/RankingConstant.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config-model/src/main') 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(); -- cgit v1.2.3