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-sandbox.git
commit 845abf8b72b816dbf50467e801f41b724f55c0ed Author: Anatole Tresch <[email protected]> AuthorDate: Sat Dec 15 23:02:51 2018 +0100 Fixed doc issues. --- .../java/org/apache/tamaya/camel/TamayaPropertiesComponent.java | 6 +++--- .../apache/tamaya/metamodel/internal/ComponentConfigurator.java | 8 ++++---- .../apache/tamaya/metamodel/internal/PropertySourceReader.java | 4 ++-- .../src/main/java/org/apache/tamaya/usagetracker/UsageStat.java | 4 ++-- .../java/org/apache/tamaya/usagetracker/spi/ConfigUsageSpi.java | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/camel/src/main/java/org/apache/tamaya/camel/TamayaPropertiesComponent.java b/camel/src/main/java/org/apache/tamaya/camel/TamayaPropertiesComponent.java index aec571b..516fb7f 100644 --- a/camel/src/main/java/org/apache/tamaya/camel/TamayaPropertiesComponent.java +++ b/camel/src/main/java/org/apache/tamaya/camel/TamayaPropertiesComponent.java @@ -36,7 +36,7 @@ public class TamayaPropertiesComponent extends PropertiesComponent{ private List<TamayaPropertyResolver> resolvers = new ArrayList<>(); /** - * Constructor similar to getParent. + * Constructor similar to parent. */ public TamayaPropertiesComponent(){ super(); @@ -50,7 +50,7 @@ public class TamayaPropertiesComponent extends PropertiesComponent{ } /** - * Constructor similar to getParent with additional locations. + * Constructor similar to parent with additional locations. * @param locations additional locations for Camel. */ public TamayaPropertiesComponent(String ... locations){ @@ -65,7 +65,7 @@ public class TamayaPropertiesComponent extends PropertiesComponent{ } /** - * Constructor similar to getParent with only one location. + * Constructor similar to parent with only one location. * @param location addition location for Camel. */ public TamayaPropertiesComponent(String location){ diff --git a/metamodel/src/main/java/org/apache/tamaya/metamodel/internal/ComponentConfigurator.java b/metamodel/src/main/java/org/apache/tamaya/metamodel/internal/ComponentConfigurator.java index ae915a4..1f16afa 100644 --- a/metamodel/src/main/java/org/apache/tamaya/metamodel/internal/ComponentConfigurator.java +++ b/metamodel/src/main/java/org/apache/tamaya/metamodel/internal/ComponentConfigurator.java @@ -37,9 +37,9 @@ public final class ComponentConfigurator<T> { private ComponentConfigurator(){} /** - * Configures the given instance with whatever is defined in the current child getList. + * Configures the given instance with whatever is defined in the current child values. * @param instance the instance to be configured, not null. - * @param node the getField containing any configuration child getList, not null. + * @param node the value containing any configuration child values, not null. */ public static void configure(Object instance, Node node) { Map<String,String> params = extractParameters(node); @@ -47,9 +47,9 @@ public final class ComponentConfigurator<T> { } /** - * Configures the given instance with whatever is defined in the current child getList. + * Configures the given instance with whatever is defined in the current child values. * @param instance the instance to be configured, not null. - * @param params the getField containing any configuration child getList, not null. + * @param params the value containing any configuration child values, not null. */ public static void configure(Object instance, Map<String,String> params) { LOG.finest("Configuring instance: " + instance + " with " + params); diff --git a/metamodel/src/main/java/org/apache/tamaya/metamodel/internal/PropertySourceReader.java b/metamodel/src/main/java/org/apache/tamaya/metamodel/internal/PropertySourceReader.java index 0c42f8c..f3be30a 100644 --- a/metamodel/src/main/java/org/apache/tamaya/metamodel/internal/PropertySourceReader.java +++ b/metamodel/src/main/java/org/apache/tamaya/metamodel/internal/PropertySourceReader.java @@ -109,7 +109,7 @@ public class PropertySourceReader implements MetaConfigurationReader{ /** * Decorates a property source to be refreshable or filtered. * @param ps the wrapped property source - *@param configNode the XML config getField + *@param configNode the XML config value * @param params the extracted parameter createList @return the property source to be added to the context. */ private PropertySource decoratePropertySource(PropertySource ps, Node configNode, Map<String, String> params){ @@ -161,7 +161,7 @@ public class PropertySourceReader implements MetaConfigurationReader{ /** * Decorates a property source provider to be refreshable or filtered. * @param prov the property source provider to be wrapped. - * @param configNode the XML config getField + * @param configNode the XML config value * @param params the extracted parameter createList @return the property source provider to be added to the context. */ private PropertySourceProvider decoratePropertySourceProvider(PropertySourceProvider prov, Node configNode, Map<String, String> params){ diff --git a/usagetracker/src/main/java/org/apache/tamaya/usagetracker/UsageStat.java b/usagetracker/src/main/java/org/apache/tamaya/usagetracker/UsageStat.java index 6c60983..dea25c7 100644 --- a/usagetracker/src/main/java/org/apache/tamaya/usagetracker/UsageStat.java +++ b/usagetracker/src/main/java/org/apache/tamaya/usagetracker/UsageStat.java @@ -117,7 +117,7 @@ public final class UsageStat { /** * Access access details for a given class. - * @param type class to getValue usage access stats for, not null. + * @param type class to value usage access stats for, not null. * @return the usage ref, if present, or null. */ public Collection<AccessStats> getAccessDetails(Class type){ @@ -126,7 +126,7 @@ public final class UsageStat { /** * Access access details for a given package. - * @param pack package to getValue usage access stats for, not null. + * @param pack package to determine usage access stats for, not null. * @return the usage ref, if present, or null. */ public Collection<AccessStats> getAccessDetails(Package pack){ diff --git a/usagetracker/src/main/java/org/apache/tamaya/usagetracker/spi/ConfigUsageSpi.java b/usagetracker/src/main/java/org/apache/tamaya/usagetracker/spi/ConfigUsageSpi.java index e691ec6..a74a14f 100644 --- a/usagetracker/src/main/java/org/apache/tamaya/usagetracker/spi/ConfigUsageSpi.java +++ b/usagetracker/src/main/java/org/apache/tamaya/usagetracker/spi/ConfigUsageSpi.java @@ -84,7 +84,7 @@ public interface ConfigUsageSpi { void recordAllPropertiesAccess(ConfigurationContext context); /** - * Track the access of {@code Configuration#getValue(String)} for + * Track the access of {@code Configuration#getProperty(String)} for * usage statistics. * @param context the corresponding context. * @param value createValue to track for
