diff options
author | Olivier Lamy <olamy@apache.org> | 2014-11-27 15:32:24 +1100 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2014-11-27 15:32:24 +1100 |
commit | d9473241c956359325aa10bdbff4e39be284c559 (patch) | |
tree | a040370776b9dfc5650ced89400fbcb9909b821d /archiva-modules/archiva-web/archiva-rest/archiva-rest-services | |
parent | c5e256751603e7893a845f2c094bcc1d5461fc55 (diff) | |
download | archiva-d9473241c956359325aa10bdbff4e39be284c559.tar.gz archiva-d9473241c956359325aa10bdbff4e39be284c559.zip |
format and debug infos
Diffstat (limited to 'archiva-modules/archiva-web/archiva-rest/archiva-rest-services')
2 files changed, 8 insertions, 2 deletions
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/AbstractRestService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/AbstractRestService.java index 89cd78be4..b0107cc38 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/AbstractRestService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/AbstractRestService.java @@ -77,7 +77,7 @@ import java.util.Map; public abstract class AbstractRestService { - protected Logger log = LoggerFactory.getLogger( getClass() ); + protected final Logger log = LoggerFactory.getLogger( getClass() ); @Inject private List<AuditListener> auditListeners = new ArrayList<>(); diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRedbackRuntimeConfigurationService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRedbackRuntimeConfigurationService.java index 209c405c8..5d3aa8e40 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRedbackRuntimeConfigurationService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRedbackRuntimeConfigurationService.java @@ -62,6 +62,7 @@ public class DefaultRedbackRuntimeConfigurationService extends AbstractRestService implements RedbackRuntimeConfigurationService { + @Inject private RedbackRuntimeConfigurationAdmin redbackRuntimeConfigurationAdmin; @@ -97,7 +98,12 @@ public class DefaultRedbackRuntimeConfigurationService { try { - return redbackRuntimeConfigurationAdmin.getRedbackRuntimeConfiguration(); + RedbackRuntimeConfiguration redbackRuntimeConfiguration = + redbackRuntimeConfigurationAdmin.getRedbackRuntimeConfiguration(); + + log.debug( "getRedbackRuntimeConfiguration -> {}", redbackRuntimeConfiguration ); + + return redbackRuntimeConfiguration; } catch ( RepositoryAdminException e ) { |