Moti Asayag has uploaded a new change for review. Change subject: engine: Removed unused variable ......................................................................
engine: Removed unused variable Change-Id: I4248ceec71806ce6eff8d89265d48bb9565c8b26 Signed-off-by: Moti Asayag <masa...@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/Backend.java 1 file changed, 8 insertions(+), 7 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/88/20988/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/Backend.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/Backend.java index 55aa10a..0c72266 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/Backend.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/Backend.java @@ -20,6 +20,7 @@ import org.apache.commons.collections.KeyValue; import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.exception.ExceptionUtils; +import org.ovirt.engine.core.bll.attestationbroker.AttestThread; import org.ovirt.engine.core.bll.context.CommandContext; import org.ovirt.engine.core.bll.interceptors.ThreadLocalSessionCleanerInterceptor; import org.ovirt.engine.core.bll.interfaces.BackendCommandObjectsHandler; @@ -74,7 +75,6 @@ import org.ovirt.engine.core.utils.log.LogFactory; import org.ovirt.engine.core.utils.osinfo.OsInfoPreferencesLoader; import org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl; -import org.ovirt.engine.core.bll.attestationbroker.AttestThread; // Here we use a Singleton Bean // The @Startup annotation is to make sure the bean is initialized on startup. @@ -98,7 +98,6 @@ private DateTime _startedAt; private static boolean firstInitialization = true; private String poolMonitoringJobId; - private String autoStartVmsRunnerJobId; public static BackendInternal getInstance() { return EjbUtils.findBean(BeanType.BACKEND, BeanProxyType.LOCAL); @@ -238,11 +237,13 @@ vmPoolMonitorIntervalInMinutes, TimeUnit.MINUTES); int autoStartVmsRunnerIntervalInSeconds = Config.<Integer> GetValue(ConfigValues.AutoStartVmsRunnerIntervalInSeconds); - autoStartVmsRunnerJobId = - SchedulerUtilQuartzImpl.getInstance().scheduleAFixedDelayJob(AutoStartVmsRunner.getInstance(), - "startFailedAutoStartVms", new Class[] {}, new Object[] {}, - autoStartVmsRunnerIntervalInSeconds, - autoStartVmsRunnerIntervalInSeconds, TimeUnit.SECONDS); + SchedulerUtilQuartzImpl.getInstance().scheduleAFixedDelayJob(AutoStartVmsRunner.getInstance(), + "startFailedAutoStartVms", + new Class[] {}, + new Object[] {}, + autoStartVmsRunnerIntervalInSeconds, + autoStartVmsRunnerIntervalInSeconds, + TimeUnit.SECONDS); int quotaCacheIntervalInMinutes = Config.<Integer> GetValue(ConfigValues.QuotaCacheIntervalInMinutes); SchedulerUtilQuartzImpl.getInstance().scheduleAFixedDelayJob(QuotaManager.getInstance(), -- To view, visit http://gerrit.ovirt.org/20988 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4248ceec71806ce6eff8d89265d48bb9565c8b26 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Moti Asayag <masa...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches