Skip to content

Commit

Permalink
comment out properties that have default settings in code and are ove…
Browse files Browse the repository at this point in the history
…rridden by the console.
  • Loading branch information
chenson42 committed May 12, 2011
1 parent 3e4afd9 commit a267ab7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
Expand Up @@ -72,8 +72,6 @@ public class StatisticManager implements IStatisticManager {

Semaphore jobStatsLock = new Semaphore(NUMBER_OF_PERMITS, true);

boolean recordStatistics = true;

public StatisticManager() {
}

Expand Down Expand Up @@ -344,7 +342,7 @@ public void incrementTriggersCreatedCount(long count) {
}

public void flush() {
recordStatistics = parameterService.is(ParameterConstants.STATISTIC_RECORD_ENABLE, false);
boolean recordStatistics = parameterService.is(ParameterConstants.STATISTIC_RECORD_ENABLE, false);
if (channelStats != null) {
channelStatsLock.acquireUninterruptibly(NUMBER_OF_PERMITS);
try {
Expand Down Expand Up @@ -493,8 +491,4 @@ public void setConfigurationService(IConfigurationService configurationService)
this.configurationService = configurationService;
}

public void setRecordStatistics(boolean recordStatistics) {
this.recordStatistics = recordStatistics;
}

}
Expand Up @@ -17,7 +17,6 @@
<property name="notificationService" ref="notificationService" />
<property name="configurationService" ref="configurationService" />
<property name="parameterService" ref="parameterService" />
<property name="recordStatistics" value="$[sym.statistic.record.enable]"/>
</bean>

<bean id="concurrentConnectionManager" class="org.jumpmind.symmetric.transport.ConcurrentConnectionManager">
Expand Down

0 comments on commit a267ab7

Please sign in to comment.