aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-09-11 21:44:27 +0200
committerJon Bratseth <bratseth@oath.com>2018-09-11 21:44:27 +0200
commite305f0f7df94b2bfab57aed7300ffd5b9bb03e9a (patch)
treeaeef61c162db3fed683927dbec36f57dfaa4e526 /searchlib
parente081b9a0cf120903ee5ddaf852245c05ece3b0c2 (diff)
Strip file ending from imported models
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/integration/ml/ModelImporter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/integration/ml/ModelImporter.java b/searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/integration/ml/ModelImporter.java
index 38b98ceca75..2ae107a5770 100644
--- a/searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/integration/ml/ModelImporter.java
+++ b/searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/integration/ml/ModelImporter.java
@@ -32,7 +32,7 @@ public abstract class ModelImporter {
private static final Logger log = Logger.getLogger(ModelImporter.class.getName());
- /** Returns whether the file or directory at the given path is of the tyope which can be imported by this */
+ /** Returns whether the file or directory at the given path is of the type which can be imported by this */
public abstract boolean canImport(String modelPath);
/** Imports the given model */