tamaya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anat...@apache.org
Subject [2/2] incubator-tamaya-sandbox git commit: TAMAYA-308 Fixed config assignment in constructor.
Date Tue, 10 Jul 2018 14:50:50 GMT
TAMAYA-308 Fixed config assignment in constructor.

Signed-off-by: Anatole Tresch <anatole@apache.org>


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

Branch: refs/heads/configjsr
Commit: 71f8928e065573600e97cae9306a7423a88ed06c
Parents: 856e060
Author: Anatole Tresch <anatole@apache.org>
Authored: Tue Jul 10 16:50:39 2018 +0200
Committer: Anatole Tresch <anatole@apache.org>
Committed: Tue Jul 10 16:50:39 2018 +0200

----------------------------------------------------------------------
 .../java/org/apache/tamaya/commons/CommonsConfigConfigSource.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya-sandbox/blob/71f8928e/apache-commons/src/main/java/org/apache/tamaya/commons/CommonsConfigConfigSource.java
----------------------------------------------------------------------
diff --git a/apache-commons/src/main/java/org/apache/tamaya/commons/CommonsConfigConfigSource.java
b/apache-commons/src/main/java/org/apache/tamaya/commons/CommonsConfigConfigSource.java
index f2f4f55..70bb43d 100644
--- a/apache-commons/src/main/java/org/apache/tamaya/commons/CommonsConfigConfigSource.java
+++ b/apache-commons/src/main/java/org/apache/tamaya/commons/CommonsConfigConfigSource.java
@@ -39,7 +39,7 @@ public class CommonsConfigConfigSource implements ConfigSource {
     }
 
     public CommonsConfigConfigSource(String name, Configuration commonsConfig) {
-        commonsConfig = Objects.requireNonNull(commonsConfig);
+        this.commonsConfig = Objects.requireNonNull(commonsConfig);
         this.name = Objects.requireNonNull(name);
         try {
             this.ordinal = commonsConfig.getInt(ConfigSource.CONFIG_ORDINAL);


Mime
View raw message