diff options
author | Daniel Trebbien <dtrebbien@gmail.com> | 2017-07-30 13:29:29 -0700 |
---|---|---|
committer | Daniel Trebbien <dtrebbien@gmail.com> | 2017-07-30 13:29:29 -0700 |
commit | da107994474d9fcb672501e3905cee6595ff0c6a (patch) | |
tree | 0e4533c4d1d9a3331d5c98a61abf41c353460d67 | |
parent | 0b15664f1c667c6bab69d44ffa6f5cf966ae38cf (diff) | |
download | archiva-da107994474d9fcb672501e3905cee6595ff0c6a.tar.gz archiva-da107994474d9fcb672501e3905cee6595ff0c6a.zip |
Fix two incorrect SLF4J logger calls
These issues were found by SLF4J Helper for NetBeans IDE:
http://plugins.netbeans.org/plugin/72557/
2 files changed, 2 insertions, 2 deletions
diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/main/java/org/apache/archiva/scheduler/repository/DefaultRepositoryArchivaTaskScheduler.java b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/main/java/org/apache/archiva/scheduler/repository/DefaultRepositoryArchivaTaskScheduler.java index 672869b18..18c775e57 100644 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/main/java/org/apache/archiva/scheduler/repository/DefaultRepositoryArchivaTaskScheduler.java +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/main/java/org/apache/archiva/scheduler/repository/DefaultRepositoryArchivaTaskScheduler.java @@ -387,7 +387,7 @@ public class DefaultRepositoryArchivaTaskScheduler catch ( RuntimeException e ) { log.error( - "ParseException in repository scanning cron expression, disabling repository scanning for '': {}", + "ParseException in repository scanning cron expression, disabling repository scanning for '{}': {}", repoConfig.getId(), e.getMessage() ); } diff --git a/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/ArchivaDavResource.java b/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/ArchivaDavResource.java index 6a14e2130..20bb2cb39 100644 --- a/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/ArchivaDavResource.java +++ b/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/ArchivaDavResource.java @@ -522,7 +522,7 @@ public class ArchivaDavResource triggerAuditEvent( remoteAddr, locator.getRepositoryId(), logicalResource, AuditEvent.COPY_FILE ); } - log.debug( "{}{}' copied to '{}' (current user '{)')", ( isCollection() ? "Directory '" : "File '" ), + log.debug( "{}{}' copied to '{}' (current user '{}')", ( isCollection() ? "Directory '" : "File '" ), getLocalResource().getName(), destination, this.principal ); } |