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 2019/04/16 22:31:53 UTC
[directory-fortress-core] branch FC-267 updated: add/update config
not clearing out data for each config entry.
This is an automated email from the ASF dual-hosted git repository.
smckinney pushed a commit to branch FC-267
in repository https://gitbox.apache.org/repos/asf/directory-fortress-core.git
The following commit(s) were added to refs/heads/FC-267 by this push:
new 22ec622 add/update config not clearing out data for each config entry.
22ec622 is described below
commit 22ec62201c61b5660097981fd63055cd491a702b
Author: Shawn McKinney <sm...@apache.org>
AuthorDate: Tue Apr 16 17:31:48 2019 -0500
add/update config not clearing out data for each config entry.
---
.../apache/directory/fortress/core/ant/FortressAntTask.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/main/java/org/apache/directory/fortress/core/ant/FortressAntTask.java b/src/main/java/org/apache/directory/fortress/core/ant/FortressAntTask.java
index 6abe1a5..333a285 100755
--- a/src/main/java/org/apache/directory/fortress/core/ant/FortressAntTask.java
+++ b/src/main/java/org/apache/directory/fortress/core/ant/FortressAntTask.java
@@ -2518,11 +2518,11 @@ public class FortressAntTask extends Task implements InputHandler
return;
}
- Properties props = new Properties();
- Configuration configuration = new Configuration();
// Loop through the entityclass elements
for ( Addconfig addcfg : addconfig )
{
+ Properties props = new Properties();
+ Configuration configuration = new Configuration();
try
{
List<ConfigAnt> cfgs = addcfg.getConfig();
@@ -2597,12 +2597,12 @@ public class FortressAntTask extends Task implements InputHandler
return;
}
- Properties props = new Properties();
- Configuration configuration = new Configuration();
- String configNodeName = "";
// Loop through the entityclass elements
for ( Updconfig updcfg : updconfig )
{
+ Properties props = new Properties();
+ Configuration configuration = new Configuration();
+ String configNodeName = "";
List<ConfigAnt> cfgs = updcfg.getConfig();
for ( ConfigAnt cfg : cfgs )
{