summaryrefslogtreecommitdiffstats
path: root/config-model-api
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-08-30 22:48:17 +0200
committerJon Bratseth <bratseth@oath.com>2018-08-30 22:48:17 +0200
commit8a1c7bb53923ba9fa01c3c6ceba2046be0530d11 (patch)
tree24830adc8d42e2d9735eefeffa23ae3eb113f62a /config-model-api
parent6250e2b6c78e5ee27690b5071f68ae510e8c113f (diff)
Revert "Merge pull request #6742 from vespa-engine/revert-6732-bratseth/generate-rank-profiles-for-all-models-part-10-2"
This reverts commit a294ef166c59c795f9e6fd31fbd6914c502d559a, reversing changes made to cef4c0f9d7c084f320e77abb2a93522acd7f3f53.
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);