tamaya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pottlin...@apache.org
Subject incubator-tamaya git commit: TAMAYA-154: Minor javadoc fixes.
Date Sun, 28 Aug 2016 20:05:32 GMT
Repository: incubator-tamaya
Updated Branches:
  refs/heads/master ad44f6865 -> 1be2053bf


TAMAYA-154: Minor javadoc fixes.


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

Branch: refs/heads/master
Commit: 1be2053bf523b03dfed47fa929cff60abbd7edb4
Parents: ad44f68
Author: Phil Ottlinger <pottlinger@apache.org>
Authored: Sun Aug 28 22:05:06 2016 +0200
Committer: Phil Ottlinger <pottlinger@apache.org>
Committed: Sun Aug 28 22:05:06 2016 +0200

----------------------------------------------------------------------
 .../model/src/main/java/org/apache/tamaya/model/Validation.java | 1 +
 .../java/org/apache/tamaya/model/spi/ConfigModelReader.java     | 1 +
 .../main/java/org/apache/tamaya/model/spi/ParameterModel.java   | 5 +++++
 .../src/main/java/org/apache/tamaya/model/spi/SectionModel.java | 4 ++++
 .../tamaya/mutableconfig/MutableConfigurationProvider.java      | 5 +++--
 5 files changed, 14 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/1be2053b/modules/model/src/main/java/org/apache/tamaya/model/Validation.java
----------------------------------------------------------------------
diff --git a/modules/model/src/main/java/org/apache/tamaya/model/Validation.java b/modules/model/src/main/java/org/apache/tamaya/model/Validation.java
index d40102c..39b72ed 100644
--- a/modules/model/src/main/java/org/apache/tamaya/model/Validation.java
+++ b/modules/model/src/main/java/org/apache/tamaya/model/Validation.java
@@ -119,6 +119,7 @@ public final class Validation {
     /**
      * Creates a new ValidationResult.
      *
+     * @param owner owner
      * @param key the name/model key
      * @param type model type 
      * @return a corresponding configModel item

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/1be2053b/modules/model/src/main/java/org/apache/tamaya/model/spi/ConfigModelReader.java
----------------------------------------------------------------------
diff --git a/modules/model/src/main/java/org/apache/tamaya/model/spi/ConfigModelReader.java
b/modules/model/src/main/java/org/apache/tamaya/model/spi/ConfigModelReader.java
index 9eb6e41..72eb7d4 100644
--- a/modules/model/src/main/java/org/apache/tamaya/model/spi/ConfigModelReader.java
+++ b/modules/model/src/main/java/org/apache/tamaya/model/spi/ConfigModelReader.java
@@ -47,6 +47,7 @@ public final class ConfigModelReader {
 
     /**
      * Loads validations as configured in the given properties.
+     * @param owner owner, not null.
      * @param props the properties to be read
      * @return a collection of config validations.
      */

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/1be2053b/modules/model/src/main/java/org/apache/tamaya/model/spi/ParameterModel.java
----------------------------------------------------------------------
diff --git a/modules/model/src/main/java/org/apache/tamaya/model/spi/ParameterModel.java b/modules/model/src/main/java/org/apache/tamaya/model/spi/ParameterModel.java
index a1faa02..46f0560 100644
--- a/modules/model/src/main/java/org/apache/tamaya/model/spi/ParameterModel.java
+++ b/modules/model/src/main/java/org/apache/tamaya/model/spi/ParameterModel.java
@@ -94,6 +94,7 @@ public class ParameterModel extends AbstractConfigModel {
 
     /**
      * Creates a new Builder instance.
+     * @param owner the owner name, not null.
      * @param name the fully qualified parameter name.
      * @return a new builder, never null.
      */
@@ -103,6 +104,7 @@ public class ParameterModel extends AbstractConfigModel {
 
     /**
      * Creates a new ConfigModel
+     * @param owner the owner name, not null.
      * @param name the fully qualified parameter name.
      * @param required the required flag.
      * @param expression an optional regular expression to validate a value.
@@ -114,6 +116,7 @@ public class ParameterModel extends AbstractConfigModel {
 
     /**
      * Creates a new ConfigModel
+     * @param owner the owner name, not null.
      * @param name the fully qualified parameter name.
      * @param required the required flag.
      * @return the new ConfigModel instance.
@@ -124,6 +127,7 @@ public class ParameterModel extends AbstractConfigModel {
 
     /**
      * Creates a new ConfigModel. The parameter will be defined as optional.
+     * @param owner the owner name, not null.
      * @param name the fully qualified parameter name.
      * @return the new ConfigModel instance.
      */
@@ -151,6 +155,7 @@ public class ParameterModel extends AbstractConfigModel {
 
         /**
          * Creates a new Builder.
+         * @param owner owner, not null.
          * @param name the fully qualified parameter name, not null.
          */
         public Builder(String owner, String name) {

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/1be2053b/modules/model/src/main/java/org/apache/tamaya/model/spi/SectionModel.java
----------------------------------------------------------------------
diff --git a/modules/model/src/main/java/org/apache/tamaya/model/spi/SectionModel.java b/modules/model/src/main/java/org/apache/tamaya/model/spi/SectionModel.java
index 5292bc8..de0b398 100644
--- a/modules/model/src/main/java/org/apache/tamaya/model/spi/SectionModel.java
+++ b/modules/model/src/main/java/org/apache/tamaya/model/spi/SectionModel.java
@@ -37,6 +37,7 @@ public class SectionModel extends GroupModel {
 
     /**
      * Creates a new builder.
+     * @param owner owner, not null.
      * @param name the section name.
      * @return a new builder instance.
      */
@@ -46,6 +47,7 @@ public class SectionModel extends GroupModel {
 
     /**
      * Creates a section validation for the given section.
+     * @param owner owner, not null.
      * @param name the fully qualified section name
      * @param required flag, if the section is required to be present.
      * @return the ConfigModel instance
@@ -56,6 +58,7 @@ public class SectionModel extends GroupModel {
 
     /**
      * Creates a section validation for the given section.
+     * @param owner owner, not null.
      * @param name the fully qualified section name
      * @param required flag, if the section is required to be present.
      * @param configModels additional configModels
@@ -130,6 +133,7 @@ public class SectionModel extends GroupModel {
 
         /**
          * Creates a new Builder.
+         * @param owner owner, not null.
          * @param sectionName the section name, not null.
          */
         public Builder(String owner, String sectionName){

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/1be2053b/modules/mutable-config/src/main/java/org/apache/tamaya/mutableconfig/MutableConfigurationProvider.java
----------------------------------------------------------------------
diff --git a/modules/mutable-config/src/main/java/org/apache/tamaya/mutableconfig/MutableConfigurationProvider.java
b/modules/mutable-config/src/main/java/org/apache/tamaya/mutableconfig/MutableConfigurationProvider.java
index 1a54b44..c2cd20e 100644
--- a/modules/mutable-config/src/main/java/org/apache/tamaya/mutableconfig/MutableConfigurationProvider.java
+++ b/modules/mutable-config/src/main/java/org/apache/tamaya/mutableconfig/MutableConfigurationProvider.java
@@ -106,10 +106,11 @@ public final class MutableConfigurationProvider {
      * configuration writing policy.
      *
      * @param configuration the configuration to use to write the changes/config.
+     * @param changePropagationPolicy the configuration writing policy.
      * @return a new MutableConfiguration instance
      */
-    public static MutableConfiguration createMutableConfiguration(Configuration configuration,
ChangePropagationPolicy changePropgationPolicy){
-        return mutableConfigurationProviderSpi.createMutableConfiguration(configuration,
changePropgationPolicy);
+    public static MutableConfiguration createMutableConfiguration(Configuration configuration,
ChangePropagationPolicy changePropagationPolicy){
+        return mutableConfigurationProviderSpi.createMutableConfiguration(configuration,
changePropagationPolicy);
     }
 
     /**


Mime
View raw message