fix bad loop variable usage

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327886 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-10-23 23:51:36 +00:00
parent 56f566e79e
commit 9f0c44d7eb
1 changed files with 2 additions and 2 deletions

View File

@ -108,13 +108,13 @@ public abstract class AbstractMavenMultiPageReport
MultiPageSink currentSink = (MultiPageSink) i.next();
currentSink.paragraph();
for ( Iterator j = sinks.iterator(); i.hasNext(); )
for ( Iterator j = sinks.iterator(); j.hasNext(); )
{
if ( counter > 1 )
{
currentSink.text( " " );
}
MultiPageSink sink = (MultiPageSink) i.next();
MultiPageSink sink = (MultiPageSink) j.next();
sink.link( sink.getOutputName() + ".html" );
sink.text( String.valueOf( counter++ ) );
sink.link_();