mirror of
https://github.com/apache/archiva.git
synced 2025-02-28 21:49:10 +00:00
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 List<String> getGroupIds()
|
||||
return groupIds;
|
||||
}
|
||||
|
||||
public void setGroupIds(List<String> groupIds)
|
||||
public void setGroupIds( List<String> groupIds )
|
||||
{
|
||||
this.groupIds = groupIds;
|
||||
}
|
||||
|
@ -18,8 +18,6 @@
|
||||
* 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 @@ Boolean updateManagedRepository( ManagedRepository managedRepository )
|
||||
throws ArchivaRestServiceException;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
@ -47,6 +47,7 @@ public interface PingService
|
||||
|
||||
/**
|
||||
* same as #ping but check authz
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@Path( "pingWithAuthz" )
|
||||
|
@ -76,7 +76,6 @@ Boolean deleteProxyConnector( ProxyConnector proxyConnector )
|
||||
*
|
||||
* @param proxyConnector
|
||||
* @return
|
||||
*
|
||||
*/
|
||||
@Path( "updateProxyConnector" )
|
||||
@POST
|
||||
|
@ -21,7 +21,6 @@
|
||||
|
||||
|
||||
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.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 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 @@
|
||||
*/
|
||||
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…
x
Reference in New Issue
Block a user