adjust mappings handling code generating diffs
This commit is contained in:
parent
f8a19a1bae
commit
813a850730
|
@ -2350,7 +2350,9 @@ public class ProfileUtilities extends TranslatingUtilities {
|
||||||
if (d.getIdentity().equals(s.getIdentity())) {
|
if (d.getIdentity().equals(s.getIdentity())) {
|
||||||
switch (mappingMergeMode) {
|
switch (mappingMergeMode) {
|
||||||
case APPEND:
|
case APPEND:
|
||||||
d.setMap(d.getMap()+";"+s.getMap());
|
if (!Utilities.splitStrings(d.getMap(), "\\,").contains(s.getMap())) {
|
||||||
|
d.setMap(d.getMap()+","+s.getMap());
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
case DUPLICATE:
|
case DUPLICATE:
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue