summaryrefslogtreecommitdiffstats
path: root/config-model-api
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-08-20 21:52:32 +0200
committerJon Bratseth <bratseth@oath.com>2018-08-20 21:52:32 +0200
commitcb48afdebc1b212703bfac6d81739f67e45339a0 (patch)
treefadba01b82cf8959b9b78b38d0a88770a364f9f3 /config-model-api
parentc7cfd9f4742f398331839ed0f2ceeee55c68a791 (diff)
Revert "Revert "Merge pull request #6626 from vespa-engine/revert-6625-bratseth/generate-rank-profiles-for-all-models-part-2-3""
This reverts commit c7cfd9f4742f398331839ed0f2ceeee55c68a791.
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 a71a0878d3d..dd54fe11c39 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
@@ -88,14 +88,12 @@ public interface ApplicationPackage {
/**
* Contents of services.xml. Caller must close reader after use.
- *
* @return a Reader, or null if no services.xml/vespa-services.xml present
*/
Reader getServices();
/**
* Contents of hosts.xml. Caller must close reader after use.
- *
* @return a Reader, or null if no hosts.xml/vespa-hosts.xml present
*/
Reader getHosts();
@@ -162,8 +160,8 @@ public interface ApplicationPackage {
* 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
+ * @param relativePath The relative path of the file within this application package.
+ * @return reader for file
* @throws IllegalArgumentException if the given path does not exist
*/
ApplicationFile getFile(Path relativePath);