This is an automated email from the ASF dual-hosted git repository. anatole pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-tamaya-site.git
commit 3e80109e942ff907c903b2a35bb4937a15756feb Author: Anatole Tresch <[email protected]> AuthorDate: Sat Dec 15 23:02:52 2018 +0100 Fixed doc issues. --- content/documentation/api.adoc | 2 +- content/documentation/extensions/mod_functions.adoc | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/documentation/api.adoc b/content/documentation/api.adoc index 56d7b19..6023724 100644 --- a/content/documentation/api.adoc +++ b/content/documentation/api.adoc @@ -105,7 +105,7 @@ useful in some cases: As an example think of a server, which wants to extract a list of all members in the current cluster. Hereby: -* A member is modelled by a +MembeConfigr+ class, with the fields +serverId, serverName, serverURL+. +* A owner is modelled by a +MembeConfigr+ class, with the fields +serverId, serverName, serverURL+. * The current members should be accessed as list, as follows: [source,java] diff --git a/content/documentation/extensions/mod_functions.adoc b/content/documentation/extensions/mod_functions.adoc index afb8b3c..7287924 100644 --- a/content/documentation/extensions/mod_functions.adoc +++ b/content/documentation/extensions/mod_functions.adoc @@ -61,10 +61,10 @@ The following sections explain the provided functions defined by +ConfigurationF * *UnaryOperator<Configuration> section(String areaKey, boolean stripKeys)* creates a +UnaryOperator<Configuration>+ that creates a +Configuration+ containing only entries that are direct or indirect members of the given section. Hereby _stripKeys_ allows to determine if the returned entries should be relative to the search criteria {{stripKeys=true}} or absolute keys. -* *isKeyInSection(String section, String sectionKey)* allows to easily determine if a given _key_ is a direct or indirect member +* *isKeyInSection(String section, String sectionKey)* allows to easily determine if a given _key_ is a direct or indirect owner of a given section. * *boolean isKeyInSections(String key, String... sectionKeys)* allows to easily determine if one key of given - _key_ is a direct or indirect member of at least one of the given _sectionKeys_. + _key_ is a direct or indirect owner of at least one of the given _sectionKeys_. * *Function<Configuration,Set<String>> sections()* allows to query all the contained fully qualified section names (the ones that also have parameters present). * *Function<Configuration,Set<String>> transitiveSections()* allows to query all the contained fully qualified section names, @@ -90,9 +90,9 @@ The following sections explain the provided functions defined by +PropertySource * *PropertySource addMetaData(PropertySource propertySource, Map<String,String> metaData)* Creates a new +PropertySource+ with the given metadata added. -* *boolean isKeyInSection(String key, String sectionKey)* Checks if the given _key_ is a direct or indirect member of +* *boolean isKeyInSection(String key, String sectionKey)* Checks if the given _key_ is a direct or indirect owner of one of the given _sectionKey_. -* *boolean isKeyInSections(String key, String... sectionKeys)* Checks if the given _key_ is a direct or indirect member of +* *boolean isKeyInSections(String key, String... sectionKeys)* Checks if the given _key_ is a direct or indirect owner of one of one of the given _sectionKeys_. * *Set<String> sections(Map<String, String> properties)* Extracts the sections from the given properties. * *Set<String> transitiveSections(Map<String, String> properties)* Extracts the transitive sections from the given
