summaryrefslogtreecommitdiffstats
path: root/config-model-api
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-08-30 16:46:29 +0200
committerGitHub <noreply@github.com>2018-08-30 16:46:29 +0200
commitd073e0575c1c4a516615219c5e8732b886eb8d85 (patch)
treee12cc864b1f22f05ef7810cd97005c7c006a2829 /config-model-api
parentcef4c0f9d7c084f320e77abb2a93522acd7f3f53 (diff)
Revert "Bratseth/generate rank profiles for all models part 10 2"
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);