Polish
This commit is contained in:
@@ -46,7 +46,8 @@ import org.springframework.core.Ordered;
|
||||
public class FileEncodingApplicationListener
|
||||
implements ApplicationListener<ApplicationEnvironmentPreparedEvent>, Ordered {
|
||||
|
||||
private static final Log logger = LogFactory.getLog(FileEncodingApplicationListener.class);
|
||||
private static final Log logger = LogFactory
|
||||
.getLog(FileEncodingApplicationListener.class);
|
||||
|
||||
@Override
|
||||
public int getOrder() {
|
||||
|
||||
@@ -59,7 +59,8 @@ import org.springframework.util.ClassUtils;
|
||||
public class ServletListenerRegistrationBean<T extends EventListener>
|
||||
extends RegistrationBean {
|
||||
|
||||
private static final Log logger = LogFactory.getLog(ServletListenerRegistrationBean.class);
|
||||
private static final Log logger = LogFactory
|
||||
.getLog(ServletListenerRegistrationBean.class);
|
||||
|
||||
private static final Set<Class<?>> SUPPORTED_TYPES;
|
||||
|
||||
|
||||
@@ -150,8 +150,8 @@ public class LogbackLoggingSystem extends Slf4JLoggingSystem {
|
||||
}
|
||||
}
|
||||
if (errors.length() > 0) {
|
||||
throw new IllegalStateException(String.format(
|
||||
"Logback configuration error detected: %n%s", errors));
|
||||
throw new IllegalStateException(
|
||||
String.format("Logback configuration error detected: %n%s", errors));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user