summaryrefslogtreecommitdiffstats
path: root/config-model-api
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-08-29 16:00:45 +0200
committerGitHub <noreply@github.com>2018-08-29 16:00:45 +0200
commitc27d2709eea8b697f8e099c1af12872bb7a75610 (patch)
tree49c8299f2fffbff2d814eea0cf86e8081d90cce8 /config-model-api
parent06323aff51bf054d64ef2bea001917a22433717f (diff)
Revert "Read stored models from Zk package for global rank profiles"
Diffstat (limited to 'config-model-api')
-rw-r--r--config-model-api/src/main/java/com/yahoo/config/application/api/ApplicationPackage.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/config-model-api/src/main/java/com/yahoo/config/application/api/ApplicationPackage.java b/config-model-api/src/main/java/com/yahoo/config/application/api/ApplicationPackage.java
index c7258d8aede..f926259f115 100644
--- a/config-model-api/src/main/java/com/yahoo/config/application/api/ApplicationPackage.java
+++ b/config-model-api/src/main/java/com/yahoo/config/application/api/ApplicationPackage.java
@@ -159,10 +159,12 @@ public interface ApplicationPackage {
}
/**
- * Returns inforamtion about a file
+ * Gets a file from the root of the application package
+ *
*
* @param relativePath the relative path of the file within this application package.
- * @return information abut the file, returned whether or not the file exists
+ * @return information abut the file
+ * @throws IllegalArgumentException if the given path does not exist
*/
ApplicationFile getFile(Path relativePath);