diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-08-29 16:00:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-29 16:00:45 +0200 |
commit | c27d2709eea8b697f8e099c1af12872bb7a75610 (patch) | |
tree | 49c8299f2fffbff2d814eea0cf86e8081d90cce8 /config-model-api | |
parent | 06323aff51bf054d64ef2bea001917a22433717f (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.java | 6 |
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); |