fix code format

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178738 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-10-04 09:31:11 +00:00
parent 9675668bcb
commit a30ed7be7f
1 changed files with 24 additions and 28 deletions

View File

@ -19,15 +19,11 @@ package org.apache.archiva.rest.services;
*/
import org.apache.archiva.admin.model.beans.ManagedRepository;
import org.apache.archiva.model.ArtifactReference;
import org.apache.archiva.repository.RepositoryContentFactory;
import org.apache.archiva.rest.api.model.ArtifactTransferRequest;
import org.apache.archiva.rest.api.services.RepositoriesService;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang.StringUtils;
import org.junit.Test;
import javax.inject.Inject;
import java.io.File;
/**
@ -89,7 +85,8 @@ public class CopyArtifactTest
}
public void clean() throws Exception
public void clean( )
throws Exception
{
if ( getManagedRepositoriesService( authorizationHeader ).getManagedRepository( TARGET_REPO_ID ) != null )
@ -127,7 +124,6 @@ public class CopyArtifactTest
// END SNIPPET: copy-artifact
assertTrue( res );
String targetRepoPath =
getManagedRepositoriesService( authorizationHeader ).getManagedRepository( TARGET_REPO_ID ).getLocation( );