mirror of https://github.com/apache/archiva.git
Reformat code
This commit is contained in:
parent
28f51257dc
commit
940412ebfb
|
@ -42,8 +42,6 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* AutoRemoveConsumer
|
||||
*
|
||||
*
|
||||
*/
|
||||
@Service( "knownRepositoryContentConsumer#auto-remove" )
|
||||
@Scope( "prototype" )
|
||||
|
|
|
@ -40,8 +40,6 @@ import java.util.Map;
|
|||
|
||||
/**
|
||||
* AutoRenameConsumer
|
||||
*
|
||||
*
|
||||
*/
|
||||
@Service( "knownRepositoryContentConsumer#auto-rename" )
|
||||
@Scope( "prototype" )
|
||||
|
|
|
@ -51,8 +51,6 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* MetadataUpdaterConsumer will create and update the metadata present within the repository.
|
||||
*
|
||||
*
|
||||
*/
|
||||
@Service( "knownRepositoryContentConsumer#metadata-updater" )
|
||||
@Scope( "prototype" )
|
||||
|
|
|
@ -45,8 +45,6 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* ValidateChecksumConsumer - validate the provided checksum against the file it represents.
|
||||
*
|
||||
*
|
||||
*/
|
||||
@Service( "knownRepositoryContentConsumer#validate-checksums" )
|
||||
@Scope( "prototype" )
|
||||
|
|
|
@ -364,7 +364,8 @@ public abstract class AbstractRepositoryPurge
|
|||
}
|
||||
}
|
||||
|
||||
private void deleteSilently(Path path) {
|
||||
private void deleteSilently( Path path )
|
||||
{
|
||||
try
|
||||
{
|
||||
Files.deleteIfExists( path );
|
||||
|
|
|
@ -176,7 +176,8 @@ public class CleanupReleasedSnapshotsRepositoryPurge
|
|||
{
|
||||
updateMetadata( artifactRef );
|
||||
}
|
||||
} catch ( RepositoryAdminException e )
|
||||
}
|
||||
catch ( RepositoryAdminException e )
|
||||
{
|
||||
throw new RepositoryPurgeException( e.getMessage( ), e );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue