diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-09-11 21:44:27 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@oath.com> | 2018-09-11 21:44:27 +0200 |
commit | e305f0f7df94b2bfab57aed7300ffd5b9bb03e9a (patch) | |
tree | aeef61c162db3fed683927dbec36f57dfaa4e526 /searchlib | |
parent | e081b9a0cf120903ee5ddaf852245c05ece3b0c2 (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.java | 2 |
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 */ |