Skip to content

Commit

Permalink
Get rid of @deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Jul 17, 2009
1 parent 50dc84e commit 300fc61
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 335 deletions.
Expand Up @@ -20,8 +20,6 @@

package org.jumpmind.symmetric.service;

import java.util.List;

import org.jumpmind.symmetric.model.BatchInfo;
import org.jumpmind.symmetric.transport.IAcknowledgeEventListener;

Expand All @@ -31,6 +29,4 @@ public interface IAcknowledgeService {

public void addAcknowledgeEventListener(IAcknowledgeEventListener statusChangeListner);

@Deprecated
public void ack(List<BatchInfo> batches);
}
Expand Up @@ -47,9 +47,6 @@ public interface IBootstrapService {
*/
public void syncTriggers(StringBuilder sql, boolean gen_always);

@Deprecated
public void register();

public void validateConfiguration();

public void heartbeat();
Expand Down
Expand Up @@ -60,8 +60,6 @@ public interface IDataService {

public Data createData(String tableName, String whereClause);

public String[] tokenizeCsvData(String csvData);

public Map<String, String> getRowDataAsMap(Data data);

public void setRowDataFromMap(Data data, Map<String, String> map);
Expand Down
Expand Up @@ -45,13 +45,6 @@ public class AcknowledgeService extends AbstractService implements IAcknowledgeS

private IRegistrationService registrationService;

@Deprecated
public void ack(final List<BatchInfo> batches) {
for (BatchInfo batch : batches) {
ack(batch);
}
}

@Transactional
public void ack(final BatchInfo batch) {

Expand Down
Expand Up @@ -323,11 +323,6 @@ reason, latestHistoryBeforeRebuild, rebuildTriggerIfNecessary(sqlBuffer,
}
}

@Deprecated
public void register() {
validateConfiguration();
}

/**
* Simply check and make sure that this node is all configured properly for
* operation.
Expand Down
Expand Up @@ -358,11 +358,6 @@ public void setRowDataFromMap(Data data, Map<String, String> map) {
data.setRowData(out.toString());
}

@Deprecated
public String[] tokenizeCsvData(String csvData) {
return CsvUtil.tokenizeCsvData(csvData);
}

public void setReloadListeners(List<IReloadListener> listeners) {
this.listeners = listeners;
}
Expand Down
Expand Up @@ -155,13 +155,6 @@ public List<OutgoingBatch> getOutgoingBatcheErrors(int maxRows) {
getSql("selectOutgoingBatchErrorsSql"), maxRows), new OutgoingBatchMapper());
}

// Moving away from SENT status to reduce updates to outgoing_batch table
@Deprecated
public void markOutgoingBatchSent(OutgoingBatch batch) {
setBatchStatus(batch.getBatchId(), batch.getStatus());
}

@Deprecated
public void setBatchStatus(long batchId, Status status) {
jdbcTemplate.update(getSql("changeBatchStatusSql"), new Object[] { status.name(), batchId });
}
Expand Down

This file was deleted.

Expand Up @@ -24,9 +24,6 @@

public interface IUpgradeTask {

@Deprecated
public void upgrade(int[] fromVersion);

public void upgrade(String nodeId, IParameterService parameterService, int[] fromVersion);

public boolean isUpgradeRegistrationServer();
Expand Down

0 comments on commit 300fc61

Please sign in to comment.