You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tamaya.apache.org by po...@apache.org on 2018/01/29 21:01:09 UTC

[1/4] incubator-tamaya git commit: TAMAYA-154: Fix javadoc issues

Repository: incubator-tamaya
Updated Branches:
  refs/heads/master d6229de35 -> db56ee226


TAMAYA-154: Fix javadoc issues


Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/5529224b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/5529224b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/5529224b

Branch: refs/heads/master
Commit: 5529224b33ee00fa8f4709af23ccb419254c9c10
Parents: d6229de
Author: Phil Ottlinger <po...@apache.org>
Authored: Mon Jan 29 21:25:40 2018 +0100
Committer: Phil Ottlinger <po...@apache.org>
Committed: Mon Jan 29 21:25:40 2018 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/tamaya/spi/ConfigurationBuilder.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/5529224b/code/api/src/main/java/org/apache/tamaya/spi/ConfigurationBuilder.java
----------------------------------------------------------------------
diff --git a/code/api/src/main/java/org/apache/tamaya/spi/ConfigurationBuilder.java b/code/api/src/main/java/org/apache/tamaya/spi/ConfigurationBuilder.java
index 3511abe..46e35b8 100644
--- a/code/api/src/main/java/org/apache/tamaya/spi/ConfigurationBuilder.java
+++ b/code/api/src/main/java/org/apache/tamaya/spi/ConfigurationBuilder.java
@@ -31,7 +31,7 @@ import java.util.Map;
  * Builders can be obtained in exactly two ways:
  * <ol>
  *     <li>By accessing a preinitialized builder from an existing {@link Configuration},
- *     by calling {@link org.apache.tamaya.spi.Configuration#toBuilder()}.</li>
+ *     by calling {@link Configuration#toBuilder()}.</li>
  *     <li>By accessing an empty builder instance from
  *     {@link org.apache.tamaya.ConfigurationProvider#getConfigurationBuilder()}.</li>
  * </ol>


[3/4] incubator-tamaya git commit: TAMAYA-154: Fix javadoc issues

Posted by po...@apache.org.
TAMAYA-154: Fix javadoc issues


Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/4327d87f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/4327d87f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/4327d87f

Branch: refs/heads/master
Commit: 4327d87fa5cb49d80994aebad520de7cbee46b82
Parents: 454f2af
Author: Phil Ottlinger <po...@apache.org>
Authored: Mon Jan 29 22:00:41 2018 +0100
Committer: Phil Ottlinger <po...@apache.org>
Committed: Mon Jan 29 22:00:41 2018 +0100

----------------------------------------------------------------------
 .../propertysource/EnvironmentPropertySource.java       | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/4327d87f/code/spi-support/src/main/java/org/apache/tamaya/spisupport/propertysource/EnvironmentPropertySource.java
----------------------------------------------------------------------
diff --git a/code/spi-support/src/main/java/org/apache/tamaya/spisupport/propertysource/EnvironmentPropertySource.java b/code/spi-support/src/main/java/org/apache/tamaya/spisupport/propertysource/EnvironmentPropertySource.java
index bb9f6b8..a8badbe 100644
--- a/code/spi-support/src/main/java/org/apache/tamaya/spisupport/propertysource/EnvironmentPropertySource.java
+++ b/code/spi-support/src/main/java/org/apache/tamaya/spisupport/propertysource/EnvironmentPropertySource.java
@@ -25,7 +25,7 @@ import java.util.HashMap;
 import java.util.Map;
 
 /**
- * <p>{@link PropertySource} to access environment variables via Tamaya
+ * <p>{@link org.apache.tamaya.spi.PropertySource} to access environment variables via Tamaya
  * which are set via {@code export VARIABLE=value} on UNIX systems or
  * {@code set VARIABLE=value} on Windows systems.</p>
  *
@@ -50,9 +50,9 @@ import java.util.Map;
  * PropertyValue color = ps.get("COLOR");
  * </pre>
  *
- * <h1>Application specific environmet variables with prefix</h1>
+ * <h1>Application specific environment variables with prefix</h1>
  *
- * <p>Given the case where to instances of the same application are running on
+ * <p>Given the case where two instances of the same application are running on
  * a single machine but need different values for the environment variable
  * {@code CUSTOMER}. The {@linkplain EnvironmentPropertySource} allows you
  * to prefix the environment variable with an application specific prefix
@@ -64,7 +64,7 @@ import java.util.Map;
  * $ export b78.CUSTOMER=luna
  * </pre>
  *
- * <p>Given an environment with these tree variables the application running
+ * <p>Given an environment with these three variables the application running
  * for the customer called Moon could be started with the following command:</p>
  *
  * <pre>
@@ -84,8 +84,8 @@ import java.util.Map;
  *
  * <h1>Disabling the access to environment variables</h1>
  *
- * <p>The access to environment variables could be simply
- * disabled by the setting the systemproperty {@code tamaya.envprops.disable}
+ * <p>The access to environment variables can simply be
+ * disabled by setting the systemproperty {@code tamaya.envprops.disable}
  * or {@code tamaya.defaults.disable} to {@code true}.</p>
  */
 public class EnvironmentPropertySource extends BasePropertySource {


[4/4] incubator-tamaya git commit: TAMAYA-154: Fix javadoc issues while updating javadoc plugin

Posted by po...@apache.org.
TAMAYA-154: Fix javadoc issues while updating javadoc plugin


Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/db56ee22
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/db56ee22
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/db56ee22

Branch: refs/heads/master
Commit: db56ee2264f79bb939cb4117c26d3d48d618f1d4
Parents: 4327d87
Author: Phil Ottlinger <po...@apache.org>
Authored: Mon Jan 29 22:00:49 2018 +0100
Committer: Phil Ottlinger <po...@apache.org>
Committed: Mon Jan 29 22:00:49 2018 +0100

----------------------------------------------------------------------
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/db56ee22/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 2844479..6a8c947 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,7 +61,7 @@
         <gem.plugin>1.0.7</gem.plugin>
         <sources.plugin>3.0.1</sources.plugin>
         <hamcrest.version>2.0.0.0</hamcrest.version>
-        <javadoc.version>2.10.4</javadoc.version>
+        <javadoc.version>3.0.0</javadoc.version>
         <!-- Must/should match the JRuby version used by AsciidoctorJ -->
         <jruby.version>1.7.26</jruby.version>
         <findbugs.version>3.0.4</findbugs.version>


[2/4] incubator-tamaya git commit: TAMAYA-154: Fix javadoc issues

Posted by po...@apache.org.
TAMAYA-154: Fix javadoc issues


Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/454f2afa
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/454f2afa
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/454f2afa

Branch: refs/heads/master
Commit: 454f2afa2279641a985b1891a21999c20daa40b1
Parents: 5529224
Author: Phil Ottlinger <po...@apache.org>
Authored: Mon Jan 29 22:00:27 2018 +0100
Committer: Phil Ottlinger <po...@apache.org>
Committed: Mon Jan 29 22:00:27 2018 +0100

----------------------------------------------------------------------
 .../tamaya/spisupport/DefaultConfigurationBuilder.java       | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/454f2afa/code/spi-support/src/main/java/org/apache/tamaya/spisupport/DefaultConfigurationBuilder.java
----------------------------------------------------------------------
diff --git a/code/spi-support/src/main/java/org/apache/tamaya/spisupport/DefaultConfigurationBuilder.java b/code/spi-support/src/main/java/org/apache/tamaya/spisupport/DefaultConfigurationBuilder.java
index ec26ba6..abde218 100644
--- a/code/spi-support/src/main/java/org/apache/tamaya/spisupport/DefaultConfigurationBuilder.java
+++ b/code/spi-support/src/main/java/org/apache/tamaya/spisupport/DefaultConfigurationBuilder.java
@@ -41,6 +41,7 @@ public class DefaultConfigurationBuilder implements ConfigurationBuilder {
 
     /**
      * Creates a new builder instance.
+     * @param context the configuration context to be used, not null.
      */
     public DefaultConfigurationBuilder(ConfigurationContext context) {
         this.contextBuilder = new DefaultConfigurationContextBuilder(context);
@@ -56,6 +57,7 @@ public class DefaultConfigurationBuilder implements ConfigurationBuilder {
 
     /**
      * Allows to set configuration context during unit tests.
+     * @param configuration the configuration to be used, not null.
      */
     public ConfigurationBuilder setConfiguration(Configuration configuration) {
         this.contextBuilder.setContext(configuration.getContext());
@@ -75,6 +77,12 @@ public class DefaultConfigurationBuilder implements ConfigurationBuilder {
         return this;
     }
 
+    /**
+     * Adds the given sources as property sources.
+     *
+     * @param sources property sources to add.
+     * @return the current configuration builder.
+     */
     @Override
     public ConfigurationBuilder addPropertySources(Collection<PropertySource> sources){
         this.contextBuilder.addPropertySources(sources);