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