Navigation Menu

Skip to content

Commit

Permalink
get rid of deprecation warnings and unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Apr 26, 2013
1 parent f7c41a8 commit 582931d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Expand Up @@ -3,9 +3,11 @@
import org.jumpmind.symmetric.model.Node;
import org.jumpmind.symmetric.service.INodeService;

@SuppressWarnings("deprecation")
public class NodeIdCreatorAdaptor implements INodeIdCreator {

private INodeService nodeService;

private INodeIdGenerator nodeIdGenerator;

public NodeIdCreatorAdaptor(INodeIdGenerator generator, INodeService nodeService) {
Expand Down
Expand Up @@ -45,6 +45,7 @@
* Responsible for generating dialect specific SQL such as trigger bodies and
* functions
*/
@SuppressWarnings("deprecation")
abstract public class AbstractTriggerTemplate {

protected static final String ORIG_TABLE_ALIAS = "orig";
Expand Down
Expand Up @@ -57,7 +57,6 @@ public class HttpBandwidthUrlSelector implements ISyncUrlExtension, IBuiltInExte
private long defaultSampleSize = 1000;
private long defaultSampleTTL = 60000;
private long defaultMaxSampleDuration = 2000;
private boolean autoRegister = true;
protected long lastSampleTs;
private Map<URI, List<SyncUrl>> cachedUrls = new HashMap<URI, List<SyncUrl>>();

Expand Down Expand Up @@ -179,10 +178,6 @@ public void setDefaultSampleTTL(long sampleTTL) {
this.defaultSampleTTL = sampleTTL;
}

public void setAutoRegister(boolean autoRegister) {
this.autoRegister = autoRegister;
}

public void setDefaultMaxSampleDuration(long defaultMaxSampleDuration) {
this.defaultMaxSampleDuration = defaultMaxSampleDuration;
}
Expand Down

0 comments on commit 582931d

Please sign in to comment.