remove unused antlr dependency

This commit is contained in:
Sebastian Sdorra
2011-11-14 08:55:06 +01:00
parent 731ba5c9e2
commit d245598f75
2 changed files with 8 additions and 15 deletions

View File

@@ -35,8 +35,6 @@ package sonia.scm.api.rest.resources;
//~--- non-JDK imports --------------------------------------------------------
import antlr.StringUtils;
import com.google.inject.Inject;
import com.google.inject.Provider;
import com.google.inject.Singleton;
@@ -422,11 +420,12 @@ public class RepositoryResource
* <li>404 not found, if the repository or the path could not be found</li>
* <li>500 internal server error</li>
* </ul>
*
*
* @param id the id of the repository
* @param path
* @param start the start value for paging
* @param limit the limit value for paging
*
*
* @return
*
* @throws IOException
@@ -446,10 +445,13 @@ public class RepositoryResource
try
{
ChangesetPagingResult changesets;
if ("".equals(path)) {
if ("".equals(path))
{
changesets = changesetViewerUtil.getChangesets(id, start, limit);
}
else {
else
{
changesets = changesetViewerUtil.getChangesets(id, path, start, limit);
}