You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tamaya.apache.org by an...@apache.org on 2018/12/15 23:22:35 UTC
[incubator-tamaya-extensions] 03/05: Fixed doc issues.
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-extensions.git
commit c5aef6ff732e557d97dfe07f12f044680067ef34
Author: Anatole Tresch <at...@gmail.com>
AuthorDate: Sat Dec 15 23:02:49 2018 +0100
Fixed doc issues.
---
.../src/main/java/org/apache/tamaya/cdi/CDIAwareServiceContext.java | 2 +-
.../src/main/java/org/apache/tamaya/inject/spi/ConfiguredMethod.java | 2 +-
.../jndi/src/main/java/org/apache/tamaya/jndi/JNDIPropertySource.java | 4 ++--
.../java/org/apache/tamaya/resource/internal/ClasspathCollector.java | 4 ++--
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/modules/injection/cdi/src/main/java/org/apache/tamaya/cdi/CDIAwareServiceContext.java b/modules/injection/cdi/src/main/java/org/apache/tamaya/cdi/CDIAwareServiceContext.java
index 9a4d831..eac745e 100644
--- a/modules/injection/cdi/src/main/java/org/apache/tamaya/cdi/CDIAwareServiceContext.java
+++ b/modules/injection/cdi/src/main/java/org/apache/tamaya/cdi/CDIAwareServiceContext.java
@@ -45,7 +45,7 @@ import java.util.logging.Logger;
* declared services) are loaded multiple times, when going up the classloader hierarchy.</p>
*
* <p>Finally classloaders are not stored by reference by this class, to ensure they still can be garbage collected.
- * Refer also the inherited getParent class for further details.</p>
+ * Refer also the inherited parent class for further details.</p>
*
* <p>This class uses an ordinal of {@code 10}, so it overrides any default {@link ServiceContext} implementations
* provided with the Tamaya core modules.</p>
diff --git a/modules/injection/injection-api/src/main/java/org/apache/tamaya/inject/spi/ConfiguredMethod.java b/modules/injection/injection-api/src/main/java/org/apache/tamaya/inject/spi/ConfiguredMethod.java
index 428e993..d8b0d09 100644
--- a/modules/injection/injection-api/src/main/java/org/apache/tamaya/inject/spi/ConfiguredMethod.java
+++ b/modules/injection/injection-api/src/main/java/org/apache/tamaya/inject/spi/ConfiguredMethod.java
@@ -59,7 +59,7 @@ public interface ConfiguredMethod {
String getSignature();
/**
- * This method actually configures the given method on a instance of its getParent type.
+ * This method actually configures the given method on a instance of its parent type.
* This evaluates the initial key closure and applies changes on the field.
*
* @param instance the target instance, not null.
diff --git a/modules/jndi/src/main/java/org/apache/tamaya/jndi/JNDIPropertySource.java b/modules/jndi/src/main/java/org/apache/tamaya/jndi/JNDIPropertySource.java
index 0a810ca..3386054 100644
--- a/modules/jndi/src/main/java/org/apache/tamaya/jndi/JNDIPropertySource.java
+++ b/modules/jndi/src/main/java/org/apache/tamaya/jndi/JNDIPropertySource.java
@@ -88,7 +88,7 @@ public class JNDIPropertySource extends BasePropertySource {
* the current JNDI context is mapped to configuration map:
* <ul>
* <li>For each leave entry one entry is created.</li>
- * <li>The key is the fully path of getParent contexts, separated by a '.'.</li>
+ * <li>The key is the fully path of parent contexts, separated by a '.'.</li>
* <li>The createValue is the createValue returned from {@code String.createValue(leaveObject)}.</li>
* </ul>
* @return a map representation of the JNDI tree.
@@ -143,7 +143,7 @@ public class JNDIPropertySource extends BasePropertySource {
* mapped to configuration map:
* <ul>
* <li>For each leave entry one entry is created.</li>
- * <li>The key is the fully path of getParent contexts, separated by a '.'.</li>
+ * <li>The key is the fully path of parent contexts, separated by a '.'.</li>
* <li>The createValue is the createValue returned from {@code String.createValue(leaveObject)}.</li>
* </ul>
* @param ctx the JNDI context, not null.
diff --git a/modules/resources/src/main/java/org/apache/tamaya/resource/internal/ClasspathCollector.java b/modules/resources/src/main/java/org/apache/tamaya/resource/internal/ClasspathCollector.java
index bffe7c4..2567ebb 100644
--- a/modules/resources/src/main/java/org/apache/tamaya/resource/internal/ClasspathCollector.java
+++ b/modules/resources/src/main/java/org/apache/tamaya/resource/internal/ClasspathCollector.java
@@ -279,8 +279,8 @@ public class ClasspathCollector {
/**
* Method that collects resources from a JBoss classloading system using Vfs.
- * @param rootResource the root resource for evaluating its getList.
- * @param locationPattern the sub pattern that all getList must mach, so they are selected.
+ * @param rootResource the root resource for evaluating its getValues.
+ * @param locationPattern the sub pattern that all getValues must mach, so they are selected.
* @return the resources found, never null.
* @throws IOException
*/