mirror of
				https://github.com/scm-manager/scm-manager.git
				synced 2025-10-31 10:35:56 +01:00 
			
		
		
		
	fix wrong total result
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user