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
This commit is contained in:
Stephen Colebourne 2003-06-28 17:49:53 +00:00
parent a5c0361ee5
commit 008d16ed5b
1 changed files with 3 additions and 4 deletions

View File

@ -70,8 +70,9 @@
*
* @author <a href="mailto:sergek@lokitech.com">Serge Knystautas</a>
* @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 static Iterator iterator(Object focus, int rangeStyle) {
* 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);