fix wrong total result

This commit is contained in:
Sebastian Sdorra
2011-08-07 16:16:40 +02:00
parent 6cbe71b120
commit 8e4ff52207

View File

@@ -40,13 +40,10 @@ import org.slf4j.LoggerFactory;
import org.tmatesoft.svn.core.SVNException;
import org.tmatesoft.svn.core.SVNLogEntry;
import org.tmatesoft.svn.core.SVNLogEntryPath;
import org.tmatesoft.svn.core.SVNURL;
import org.tmatesoft.svn.core.io.SVNRepository;
import org.tmatesoft.svn.core.io.SVNRepositoryFactory;
import sonia.scm.util.Util;
//~--- JDK imports ------------------------------------------------------------
import java.io.File;
@@ -54,7 +51,6 @@ import java.io.File;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map;
/**
*
@@ -122,6 +118,7 @@ public class SvnChangesetViewer implements ChangesetViewer
changesetList.add(SvnUtil.createChangeset(entry));
}
total++;
changesets = new ChangesetPagingResult((int) total, changesetList);
}
catch (SVNException ex)