Fix two incorrect SLF4J logger calls

These issues were found by SLF4J Helper for NetBeans IDE:
http://plugins.netbeans.org/plugin/72557/
This commit is contained in:
Daniel Trebbien 2017-07-30 13:29:29 -07:00
parent 0b15664f1c
commit da10799447
2 changed files with 2 additions and 2 deletions

View 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() );
}

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