summaryrefslogtreecommitdiffstats
path: root/model-integration
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-11-28 12:29:05 +0100
committerJon Bratseth <bratseth@oath.com>2018-11-28 12:29:05 +0100
commit083ed32b17cfdeee3fca07d3ec9807b1bb11da0e (patch)
treeda78c12d89022e02a2b06676d2312ed2625b4b41 /model-integration
parente12e2d54042b2aeca632ee630f0d67695dfb2f1b (diff)
Allow no-arg function invocations to use parentheses
Diffstat (limited to 'model-integration')
-rw-r--r--model-integration/src/main/java/ai/vespa/rankingexpression/importer/ImportedModel.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/model-integration/src/main/java/ai/vespa/rankingexpression/importer/ImportedModel.java b/model-integration/src/main/java/ai/vespa/rankingexpression/importer/ImportedModel.java
index 0c5866b87fa..2662c6055d6 100644
--- a/model-integration/src/main/java/ai/vespa/rankingexpression/importer/ImportedModel.java
+++ b/model-integration/src/main/java/ai/vespa/rankingexpression/importer/ImportedModel.java
@@ -93,8 +93,6 @@ public class ImportedModel implements ImportedMlModel {
*/
public Map<String, RankingExpression> expressions() { return Collections.unmodifiableMap(expressions); }
- // TODO: Most of the usage of the above can be replaced by a faster expressionNames method
-
/**
* Returns an immutable map of the functions that are part of this model.
* Note that the functions themselves are *not* copies and *not* immutable - they must be copied before modification.