directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject directory-fortress-core git commit: FC-141 - Config from repository is adding instead of overriding
Date Thu, 28 Jan 2016 14:28:08 GMT
Repository: directory-fortress-core
Updated Branches:
  refs/heads/master 5d8839562 -> d1d2b21cf


FC-141 - Config from repository is adding instead of overriding


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/commit/d1d2b21c
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/d1d2b21c
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/d1d2b21c

Branch: refs/heads/master
Commit: d1d2b21cfa38e31d2599c09cc51ff13d56a20b59
Parents: 5d88395
Author: Shawn McKinney <smckinney@apache.org>
Authored: Wed Jan 27 18:57:48 2016 -0600
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Wed Jan 27 18:57:48 2016 -0600

----------------------------------------------------------------------
 src/main/java/org/apache/directory/fortress/core/util/Config.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/d1d2b21c/src/main/java/org/apache/directory/fortress/core/util/Config.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/util/Config.java b/src/main/java/org/apache/directory/fortress/core/util/Config.java
index 2e44206..b83bccc 100755
--- a/src/main/java/org/apache/directory/fortress/core/util/Config.java
+++ b/src/main/java/org/apache/directory/fortress/core/util/Config.java
@@ -115,7 +115,7 @@ public final class Config
                     {
                         String key = ( String ) e.nextElement();
                         String val = props.getProperty( key );
-                        config.addProperty( key, val );
+                        config.setProperty( key, val );
                     }
                 }
             }


Mime
View raw message