summaryrefslogtreecommitdiffstats
path: root/config-model-api
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-08-29 19:39:56 +0200
committerJon Bratseth <bratseth@oath.com>2018-08-29 19:39:56 +0200
commit50c92f5b6f3319b5f59dd5d30792e51f83de3d2b (patch)
tree3723386d7469dfc94f2a2dba6e121913b4134eb0 /config-model-api
parentdbc86be22dad1d9fb279d978a45e621a5325ca7e (diff)
Revert "Merge pull request #6722 from vespa-engine/revert-6713-bratseth/generate-rank-profiles-for-all-models-part-10"
This reverts commit 6958f2a641eaad0c61249e7bca887a1405e17d02, reversing changes made to 06323aff51bf054d64ef2bea001917a22433717f.
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, 2 insertions, 4 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 f926259f115..c7258d8aede 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,12 +159,10 @@ public interface ApplicationPackage {
}
/**
- * Gets a file from the root of the application package
- *
+ * Returns inforamtion about a file
*
* @param relativePath the relative path of the file within this application package.
- * @return information abut the file
- * @throws IllegalArgumentException if the given path does not exist
+ * @return information abut the file, returned whether or not the file exists
*/
ApplicationFile getFile(Path relativePath);