java/code/src/com/redhat/rhn/taskomatic/task/ClearLogHistory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit aa5b048f4a961a77392a02c19434654eb820ce43 Author: Justin Sherrill jsherril@redhat.com Date: Wed Sep 1 16:41:14 2010 -0400
checkstyle fix
diff --git a/java/code/src/com/redhat/rhn/taskomatic/task/ClearLogHistory.java b/java/code/src/com/redhat/rhn/taskomatic/task/ClearLogHistory.java index be18672..0174d9c 100644 --- a/java/code/src/com/redhat/rhn/taskomatic/task/ClearLogHistory.java +++ b/java/code/src/com/redhat/rhn/taskomatic/task/ClearLogHistory.java @@ -37,14 +37,14 @@ public class ClearLogHistory extends RhnJavaJob { private static final Integer DEFAULT_DAYS_VALUE = 7; /** * {@inheritDoc} - * @throws InvalidParamException */ public void execute(JobExecutionContext context) throws JobExecutionException { Integer days = null; try { days = (Integer) context.getJobDetail().getJobDataMap().get("days"); - } catch (java.lang.ClassCastException cce) { + } + catch (java.lang.ClassCastException cce) { String passedDays = (String) context.getJobDetail().getJobDataMap().get("days"); if (passedDays != null) { try {
spacewalk-commits@lists.fedorahosted.org