]> source.dussan.org Git - archiva.git/commitdiff
Fix two incorrect SLF4J logger calls 30/head
authorDaniel Trebbien <dtrebbien@gmail.com>
Sun, 30 Jul 2017 20:29:29 +0000 (13:29 -0700)
committerDaniel Trebbien <dtrebbien@gmail.com>
Sun, 30 Jul 2017 20:29:29 +0000 (13:29 -0700)
These issues were found by SLF4J Helper for NetBeans IDE:
http://plugins.netbeans.org/plugin/72557/

archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/main/java/org/apache/archiva/scheduler/repository/DefaultRepositoryArchivaTaskScheduler.java
archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/ArchivaDavResource.java

index 672869b188e81145824681c9041c57d16b1add31..18c775e571933cc35964107613d21f585b2f05aa 100644 (file)
@@ -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() );
         }
 
index 6a14e2130daa2ca3668259d48ceebc7d5fd707ea..20bb2cb39cd38d7248dae57e2b98358a416a1133 100644 (file)
@@ -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 );
 
         }