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/07/10 14:49:56 UTC
incubator-tamaya-sandbox git commit: TAMAYA-308 Fixed config
assignment in constructor.
Repository: incubator-tamaya-sandbox
Updated Branches:
refs/heads/master ed8bd26f1 -> 96fc9d5cb
TAMAYA-308 Fixed config assignment in constructor.
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/96fc9d5c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-sandbox/tree/96fc9d5c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-sandbox/diff/96fc9d5c
Branch: refs/heads/master
Commit: 96fc9d5cbd8d4170af2908d8ba88ed5aa19eae22
Parents: ed8bd26
Author: Anatole Tresch <at...@gmail.com>
Authored: Tue Jul 10 16:49:48 2018 +0200
Committer: Anatole Tresch <at...@gmail.com>
Committed: Tue Jul 10 16:49:48 2018 +0200
----------------------------------------------------------------------
.../org/apache/tamaya/commons/CommonsConfigPropertySource.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tamaya-sandbox/blob/96fc9d5c/apache-commons/src/main/java/org/apache/tamaya/commons/CommonsConfigPropertySource.java
----------------------------------------------------------------------
diff --git a/apache-commons/src/main/java/org/apache/tamaya/commons/CommonsConfigPropertySource.java b/apache-commons/src/main/java/org/apache/tamaya/commons/CommonsConfigPropertySource.java
index 2383e68..206878a 100644
--- a/apache-commons/src/main/java/org/apache/tamaya/commons/CommonsConfigPropertySource.java
+++ b/apache-commons/src/main/java/org/apache/tamaya/commons/CommonsConfigPropertySource.java
@@ -40,7 +40,7 @@ public class CommonsConfigPropertySource implements PropertySource {
}
public CommonsConfigPropertySource(String name, Configuration commonsConfig) {
- commonsConfig = Objects.requireNonNull(commonsConfig);
+ this.commonsConfig = Objects.requireNonNull(commonsConfig);
this.name = Objects.requireNonNull(name);
try {
this.ordinal = commonsConfig.getInt(PropertySource.TAMAYA_ORDINAL);