diff --git a/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java b/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java index 7d867394a..7efcdcda4 100644 --- a/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java +++ b/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java @@ -89,7 +89,7 @@ import java.util.Set; * before reading it from the registry. *
*/ -@Service( "archivaConfiguration#default" ) +@Service ( "archivaConfiguration#default" ) public class DefaultArchivaConfiguration implements ArchivaConfiguration, RegistryListener { @@ -99,7 +99,7 @@ public class DefaultArchivaConfiguration * Plexus registry to read the configuration from. */ @Inject - @Named( value = "commons-configuration" ) + @Named ( value = "commons-configuration" ) private Registry registry; @Inject @@ -182,7 +182,7 @@ public class DefaultArchivaConfiguration return configuration; } - @SuppressWarnings( "unchecked" ) + @SuppressWarnings ( "unchecked" ) private Configuration load() { // TODO: should this be the same as section? make sure unnamed sections still work (eg, sys properties) @@ -440,7 +440,7 @@ public class DefaultArchivaConfiguration return registry.getSubset( KEY ); } - @SuppressWarnings( "unchecked" ) + @SuppressWarnings ( "unchecked" ) public synchronized void save( Configuration configuration ) throws IndeterminateConfigurationException, RegistryException { diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/repositories.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/repositories.html index 0aba8e2f2..a18ea7b3a 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/repositories.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/repositories.html @@ -216,7 +216,7 @@ {{if update}} ${$data.managedRepository.id} {{else}} - {{/if}} @@ -224,20 +224,20 @@