mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 07:55:47 +01:00
remove unused antlr dependency
This commit is contained in:
@@ -33,15 +33,6 @@
|
|||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- fix jenkins build -->
|
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.antlr</groupId>
|
|
||||||
<artifactId>antlr</artifactId>
|
|
||||||
<version>3.4</version>
|
|
||||||
<scope>provided</scope>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>sonia.scm</groupId>
|
<groupId>sonia.scm</groupId>
|
||||||
<artifactId>scm-core</artifactId>
|
<artifactId>scm-core</artifactId>
|
||||||
|
|||||||
@@ -35,8 +35,6 @@ package sonia.scm.api.rest.resources;
|
|||||||
|
|
||||||
//~--- non-JDK imports --------------------------------------------------------
|
//~--- non-JDK imports --------------------------------------------------------
|
||||||
|
|
||||||
import antlr.StringUtils;
|
|
||||||
|
|
||||||
import com.google.inject.Inject;
|
import com.google.inject.Inject;
|
||||||
import com.google.inject.Provider;
|
import com.google.inject.Provider;
|
||||||
import com.google.inject.Singleton;
|
import com.google.inject.Singleton;
|
||||||
@@ -424,6 +422,7 @@ public class RepositoryResource
|
|||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* @param id the id of the repository
|
* @param id the id of the repository
|
||||||
|
* @param path
|
||||||
* @param start the start value for paging
|
* @param start the start value for paging
|
||||||
* @param limit the limit value for paging
|
* @param limit the limit value for paging
|
||||||
*
|
*
|
||||||
@@ -446,10 +445,13 @@ public class RepositoryResource
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
ChangesetPagingResult changesets;
|
ChangesetPagingResult changesets;
|
||||||
if ("".equals(path)) {
|
|
||||||
|
if ("".equals(path))
|
||||||
|
{
|
||||||
changesets = changesetViewerUtil.getChangesets(id, start, limit);
|
changesets = changesetViewerUtil.getChangesets(id, start, limit);
|
||||||
}
|
}
|
||||||
else {
|
else
|
||||||
|
{
|
||||||
changesets = changesetViewerUtil.getChangesets(id, path, start, limit);
|
changesets = changesetViewerUtil.getChangesets(id, path, start, limit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user