mirror of https://github.com/apache/archiva.git
again fix some formatting I broke! and remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203199 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f8d3094638
commit
472c7e1ff9
|
@ -31,12 +31,13 @@ public class GroupIdList
|
|||
implements Serializable
|
||||
{
|
||||
private List<String> groupIds;
|
||||
public GroupIdList ( )
|
||||
|
||||
public GroupIdList()
|
||||
{
|
||||
// no op
|
||||
}
|
||||
|
||||
public GroupIdList ( List<String> groupIds )
|
||||
public GroupIdList( List<String> groupIds )
|
||||
{
|
||||
this.groupIds = groupIds;
|
||||
}
|
||||
|
@ -46,7 +47,7 @@ public class GroupIdList
|
|||
return groupIds;
|
||||
}
|
||||
|
||||
public void setGroupIds(List<String> groupIds)
|
||||
public void setGroupIds( List<String> groupIds )
|
||||
{
|
||||
this.groupIds = groupIds;
|
||||
}
|
||||
|
|
|
@ -18,8 +18,6 @@ package org.apache.archiva.rest.api.services;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
/**
|
||||
* @author Olivier Lamy
|
||||
* @since 1.4-M1
|
||||
|
@ -29,7 +27,7 @@ public class ArchivaRestServiceException
|
|||
{
|
||||
|
||||
private int httpErrorCode = 500;
|
||||
|
||||
|
||||
private String errorKey;
|
||||
|
||||
|
||||
|
|
|
@ -81,5 +81,4 @@ public interface ManagedRepositoriesService
|
|||
throws ArchivaRestServiceException;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -47,6 +47,7 @@ public interface PingService
|
|||
|
||||
/**
|
||||
* same as #ping but check authz
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@Path( "pingWithAuthz" )
|
||||
|
|
|
@ -76,7 +76,6 @@ public interface ProxyConnectorService
|
|||
*
|
||||
* @param proxyConnector
|
||||
* @return
|
||||
*
|
||||
*/
|
||||
@Path( "updateProxyConnector" )
|
||||
@POST
|
||||
|
|
|
@ -21,7 +21,6 @@ package org.apache.archiva.rest.api.services;
|
|||
|
||||
|
||||
import org.apache.archiva.rest.api.model.Artifact;
|
||||
import org.apache.archiva.rest.api.model.Dependency;
|
||||
import org.apache.archiva.rest.api.model.GroupIdList;
|
||||
import org.apache.archiva.rest.api.model.SearchRequest;
|
||||
import org.codehaus.plexus.redback.authorization.RedbackAuthorization;
|
||||
|
@ -32,7 +31,6 @@ import javax.ws.rs.Path;
|
|||
import javax.ws.rs.Produces;
|
||||
import javax.ws.rs.QueryParam;
|
||||
import javax.ws.rs.core.MediaType;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
@Path( "/searchService/" )
|
||||
|
|
|
@ -31,14 +31,14 @@ public class ArchivaRestError
|
|||
{
|
||||
|
||||
private String errorKey;
|
||||
|
||||
|
||||
private String errorMessage;
|
||||
|
||||
|
||||
public ArchivaRestError()
|
||||
{
|
||||
// no op
|
||||
}
|
||||
|
||||
|
||||
public ArchivaRestError( ArchivaRestServiceException e )
|
||||
{
|
||||
errorKey = e.getErrorKey();
|
||||
|
|
|
@ -81,8 +81,6 @@ import org.springframework.stereotype.Service;
|
|||
|
||||
import javax.inject.Inject;
|
||||
import javax.inject.Named;
|
||||
import javax.ws.rs.WebApplicationException;
|
||||
import javax.ws.rs.core.Response;
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileOutputStream;
|
||||
|
|
|
@ -24,8 +24,7 @@ package org.apache.archiva.rest.services.interceptors;
|
|||
*/
|
||||
public class HttpContextThreadLocal
|
||||
{
|
||||
private static final ThreadLocal<HttpContext> userThreadLocal =
|
||||
new ThreadLocal<HttpContext>();
|
||||
private static final ThreadLocal<HttpContext> userThreadLocal = new ThreadLocal<HttpContext>();
|
||||
|
||||
public static void set( HttpContext httpContext )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue