Fixed placeholders in SLF4J logging statements (see Hades #417).
This commit is contained in:
@@ -125,7 +125,7 @@ public class AuditingEntityListener<T> implements InitializingBean {
|
||||
Object defaultedNow = now == null ? "not set" : now;
|
||||
Object defaultedAuditor = auditor == null ? "unknown" : auditor;
|
||||
|
||||
LOG.debug("Touched %s - Last modification at %s by %s", new Object[] {
|
||||
LOG.debug("Touched {} - Last modification at {} by {}", new Object[] {
|
||||
auditable, defaultedNow, defaultedAuditor });
|
||||
}
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ final class NamedQuery extends AbstractStringBasedJpaQuery {
|
||||
|
||||
final String queryName = method.getNamedQueryName();
|
||||
|
||||
LOG.debug("Looking up named query %s", queryName);
|
||||
LOG.debug("Looking up named query {}", queryName);
|
||||
|
||||
try {
|
||||
|
||||
@@ -98,11 +98,11 @@ final class NamedQuery extends AbstractStringBasedJpaQuery {
|
||||
}
|
||||
|
||||
if (parameters.hasPageableParameter()) {
|
||||
LOG.info(String
|
||||
.format("Finder method %s is backed by a NamedQuery"
|
||||
LOG.info(
|
||||
"Finder method {} is backed by a NamedQuery"
|
||||
+ " but contains a Pageble parameter! Sorting deliviered "
|
||||
+ "via this Pageable will not be applied!",
|
||||
method));
|
||||
method);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@ final class SimpleJpaQuery extends AbstractStringBasedJpaQuery {
|
||||
public static RepositoryQuery fromQueryAnnotation(
|
||||
JpaQueryMethod queryMethod, EntityManager em) {
|
||||
|
||||
LOG.debug("Looking up query for method %s", queryMethod.getName());
|
||||
LOG.debug("Looking up query for method {}", queryMethod.getName());
|
||||
|
||||
String query = queryMethod.getAnnotatedQuery();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user