From: <rm...@hy...> - 2008-01-09 20:13:14
|
Author: rmorgan Date: 2008-01-09 12:13:10 -0800 (Wed, 09 Jan 2008) New Revision: 7474 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=7474 Modified: trunk/src/org/hyperic/hq/measurement/DataPurgeJob.java Log: Cleanup unused variables from r7473. Modified: trunk/src/org/hyperic/hq/measurement/DataPurgeJob.java =================================================================== --- trunk/src/org/hyperic/hq/measurement/DataPurgeJob.java 2008-01-09 18:47:16 UTC (rev 7473) +++ trunk/src/org/hyperic/hq/measurement/DataPurgeJob.java 2008-01-09 20:13:10 UTC (rev 7474) @@ -26,11 +26,9 @@ package org.hyperic.hq.measurement; import java.sql.SQLException; -import java.util.Calendar; import java.util.Properties; import javax.ejb.CreateException; -import javax.ejb.RemoveException; import javax.naming.NamingException; import org.apache.commons.logging.Log; @@ -206,7 +204,6 @@ // maintenance. (On postgres we just rebuild indicies // using an ANALYZE) long vacuumStart = System.currentTimeMillis(); - Calendar cal = Calendar.getInstance(); if (TimingVoodoo.roundDownTime(time_start, HOUR) == TimingVoodoo.roundDownTime(time_start, maintInterval)) { _log.info("Performing database maintenance (VACUUM ANALYZE)"); |