fix some small bugs

This commit is contained in:
Sebastian Sdorra
2010-11-23 19:02:09 +01:00
parent ad78ce8e20
commit 00b5191821
3 changed files with 7 additions and 12 deletions

View File

@@ -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;
}

View File

@@ -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 =

View File

@@ -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;
/**
*