Minor code formating.

This commit is contained in:
trifonnt 2009-10-20 11:04:43 +00:00
parent f4413ff0d1
commit d2740a76b7
1 changed files with 6 additions and 6 deletions

View File

@ -179,9 +179,9 @@ public class ImportHelper {
if(ReplicationEvent == ModelValidator.TYPE_BEFORE_DELETE || if(ReplicationEvent == ModelValidator.TYPE_BEFORE_DELETE ||
ReplicationEvent == ModelValidator.TYPE_BEFORE_DELETE_REPLICATION || ReplicationEvent == ModelValidator.TYPE_BEFORE_DELETE_REPLICATION ||
ReplicationEvent == ModelValidator.TYPE_DELETE) 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 //TODO: Create a Replication Type "BROADCAST" now we are using MERGE
if(ReplicationType.equals(X_AD_ReplicationTable.REPLICATIONTYPE_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); MReplicationStrategy rplStrategy = new MReplicationStrategy(client.getCtx(), client.getAD_ReplicationStrategy_ID(), null);
ExportHelper expHelper = new ExportHelper(client, rplStrategy); ExportHelper expHelper = new ExportHelper(client, rplStrategy);
expHelper.exportRecord( po, MReplicationStrategy.REPLICATION_TABLE, X_AD_ReplicationTable.REPLICATIONTYPE_Reference, ModelValidator.TYPE_AFTER_CHANGE); expHelper.exportRecord( po, MReplicationStrategy.REPLICATION_TABLE, X_AD_ReplicationTable.REPLICATIONTYPE_Reference, ModelValidator.TYPE_AFTER_CHANGE);
} } else {
else
resultSave = po.saveReplica(true); resultSave = po.saveReplica(true);
} }
}
result.append("ResultSave=").append(resultSave).append("; "); result.append("ResultSave=").append(resultSave).append("; ");
/*if (resultSave) /*if (resultSave)