mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-07 14:05:44 +01:00
fix some small bugs
This commit is contained in:
@@ -38,14 +38,12 @@ package sonia.scm.maven;
|
||||
import org.apache.maven.plugin.MojoExecutionException;
|
||||
import org.apache.maven.plugin.MojoFailureException;
|
||||
|
||||
import org.jsoup.nodes.Element;
|
||||
import org.jsoup.select.Elements;
|
||||
import org.jsoup.nodes.Document;
|
||||
|
||||
//~--- JDK imports ------------------------------------------------------------
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import org.jsoup.nodes.Document;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -58,10 +56,11 @@ public interface WebCompressor
|
||||
* Method description
|
||||
*
|
||||
*
|
||||
* @param head
|
||||
* @param elements
|
||||
*
|
||||
* @param document
|
||||
* @param inputDirectory
|
||||
* @param outputDirectory
|
||||
* @param encoding
|
||||
* @param outputPrefix
|
||||
* @param concat
|
||||
*
|
||||
@@ -70,7 +69,7 @@ public interface WebCompressor
|
||||
* @throws MojoFailureException
|
||||
*/
|
||||
public void compress(Document document, File inputDirectory,
|
||||
File outputDirectory, String encoding, String outputPrefix,
|
||||
boolean concat)
|
||||
File outputDirectory, String encoding,
|
||||
String outputPrefix, boolean concat)
|
||||
throws IOException, MojoExecutionException, MojoFailureException;
|
||||
}
|
||||
|
||||
@@ -53,9 +53,7 @@ import java.util.Collection;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
import javax.ws.rs.Path;
|
||||
import javax.ws.rs.Produces;
|
||||
import javax.ws.rs.core.Context;
|
||||
import javax.ws.rs.core.MediaType;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -226,7 +224,7 @@ public class RepositoryResource extends AbstractResource<Repository>
|
||||
|
||||
if (ctxPath.endsWith("/"))
|
||||
{
|
||||
ctxPath.substring(0, ctxPath.length() - 1);
|
||||
ctxPath = ctxPath.substring(0, ctxPath.length() - 1);
|
||||
}
|
||||
|
||||
RepositoryHandler handler =
|
||||
|
||||
@@ -49,8 +49,6 @@ import sonia.scm.util.Util;
|
||||
import java.util.Collection;
|
||||
|
||||
import javax.ws.rs.Path;
|
||||
import javax.ws.rs.Produces;
|
||||
import javax.ws.rs.core.MediaType;
|
||||
|
||||
/**
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user