Minor code formating.
This commit is contained in:
parent
f4413ff0d1
commit
d2740a76b7
|
@ -179,9 +179,9 @@ public class ImportHelper {
|
|||
if(ReplicationEvent == ModelValidator.TYPE_BEFORE_DELETE ||
|
||||
ReplicationEvent == ModelValidator.TYPE_BEFORE_DELETE_REPLICATION ||
|
||||
ReplicationEvent == ModelValidator.TYPE_DELETE)
|
||||
resultSave=po.delete(true);
|
||||
else
|
||||
{
|
||||
resultSave=po.delete(true);
|
||||
} else {
|
||||
//TODO: Create a Replication Type "BROADCAST" now we are using MERGE
|
||||
if(ReplicationType.equals(X_AD_ReplicationTable.REPLICATIONTYPE_Merge))
|
||||
{
|
||||
|
@ -189,10 +189,10 @@ public class ImportHelper {
|
|||
MReplicationStrategy rplStrategy = new MReplicationStrategy(client.getCtx(), client.getAD_ReplicationStrategy_ID(), null);
|
||||
ExportHelper expHelper = new ExportHelper(client, rplStrategy);
|
||||
expHelper.exportRecord( po, MReplicationStrategy.REPLICATION_TABLE, X_AD_ReplicationTable.REPLICATIONTYPE_Reference, ModelValidator.TYPE_AFTER_CHANGE);
|
||||
}
|
||||
else
|
||||
} else {
|
||||
resultSave = po.saveReplica(true);
|
||||
}
|
||||
}
|
||||
|
||||
result.append("ResultSave=").append(resultSave).append("; ");
|
||||
/*if (resultSave)
|
||||
|
|
Loading…
Reference in New Issue