You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by sm...@apache.org on 2018/08/03 17:54:05 UTC
directory-fortress-core git commit: fix update prop method (it was
adding)
Repository: directory-fortress-core
Updated Branches:
refs/heads/master f30944329 -> 25c4c97c9
fix update prop method (it was adding)
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/25c4c97c
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/25c4c97c
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/25c4c97c
Branch: refs/heads/master
Commit: 25c4c97c9c93cc3550ba995455a11ac36fd0294d
Parents: f309443
Author: Shawn McKinney <sm...@apache.org>
Authored: Wed Aug 1 06:55:33 2018 -0500
Committer: Shawn McKinney <sm...@apache.org>
Committed: Wed Aug 1 06:55:33 2018 -0500
----------------------------------------------------------------------
.../java/org/apache/directory/fortress/core/ConfigMgrConsole.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/25c4c97c/src/test/java/org/apache/directory/fortress/core/ConfigMgrConsole.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/directory/fortress/core/ConfigMgrConsole.java b/src/test/java/org/apache/directory/fortress/core/ConfigMgrConsole.java
index 992705a..2afc05e 100755
--- a/src/test/java/org/apache/directory/fortress/core/ConfigMgrConsole.java
+++ b/src/test/java/org/apache/directory/fortress/core/ConfigMgrConsole.java
@@ -96,7 +96,7 @@ class ConfigMgrConsole
String value = ReaderUtil.readLn();
Properties props = new Properties();
props.setProperty(key, value);
- cm.add(realm, props);
+ cm.update(realm, props);
System.out.println("Property successfully updated");
System.out.println("ENTER to continue");
}