From 008d16ed5bf041603ee562e48696e5b0f92a4089 Mon Sep 17 00:00:00 2001 From: Stephen Colebourne Date: Sat, 28 Jun 2003 17:49:53 +0000 Subject: [PATCH] Removed unused variable bug 21099, from Janek Bogucki git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137382 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/commons/lang/time/DateUtils.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/java/org/apache/commons/lang/time/DateUtils.java b/src/java/org/apache/commons/lang/time/DateUtils.java index b32fb0901..37198faff 100644 --- a/src/java/org/apache/commons/lang/time/DateUtils.java +++ b/src/java/org/apache/commons/lang/time/DateUtils.java @@ -70,8 +70,9 @@ import java.util.TimeZone; * * @author Serge Knystautas * @author Stephen Colebourne + * @author Janek Bogucki * @since 2.0 - * @version $Id: DateUtils.java,v 1.4 2003/06/23 23:41:10 scolebourne Exp $ + * @version $Id: DateUtils.java,v 1.5 2003/06/28 17:49:53 scolebourne Exp $ */ public class DateUtils { @@ -650,13 +651,11 @@ public class DateUtils { * Date iterator. */ static class DateIterator implements Iterator { - private final Calendar startFinal; private final Calendar endFinal; - private Calendar spot = null; + private final Calendar spot; DateIterator(Calendar startFinal, Calendar endFinal) { super(); - this.startFinal = startFinal; this.endFinal = endFinal; spot = startFinal; spot.add(Calendar.DATE, -1);