Reformat code

This commit is contained in:
Martin Stockhammer 2017-08-27 16:18:57 +02:00
parent c50c6d5e3f
commit a015600d48
12 changed files with 240 additions and 246 deletions

View File

@ -42,8 +42,6 @@ import java.util.List;
/** /**
* AutoRemoveConsumer * AutoRemoveConsumer
*
*
*/ */
@Service( "knownRepositoryContentConsumer#auto-remove" ) @Service( "knownRepositoryContentConsumer#auto-remove" )
@Scope( "prototype" ) @Scope( "prototype" )

View File

@ -40,8 +40,6 @@ import java.util.Map;
/** /**
* AutoRenameConsumer * AutoRenameConsumer
*
*
*/ */
@Service( "knownRepositoryContentConsumer#auto-rename" ) @Service( "knownRepositoryContentConsumer#auto-rename" )
@Scope( "prototype" ) @Scope( "prototype" )

View File

@ -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" )

View File

@ -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" )

View File

@ -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 );

View File

@ -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 );
} }