mirror of https://github.com/apache/maven.git
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:
parent
56f566e79e
commit
9f0c44d7eb
|
@ -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_();
|
||||
|
|
Loading…
Reference in New Issue