Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
*/
public class AuditListener implements ApplicationListener<AuditApplicationEvent> {

private static Log logger = LogFactory.getLog(AuditListener.class);
private static final Log logger = LogFactory.getLog(AuditListener.class);

private final AuditEventRepository auditEventRepository;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
@ConfigurationProperties(prefix = "shell", ignoreUnknownFields = true)
public class ShellProperties {

private static Log logger = LogFactory.getLog(ShellProperties.class);
private static final Log logger = LogFactory.getLog(ShellProperties.class);

/**
* Authentication type. Auto-detected according to the environment (i.e. if Spring
Expand Down Expand Up @@ -418,7 +418,7 @@ public String getPath() {
public static class SimpleAuthenticationProperties
extends CrshShellAuthenticationProperties {

private static Log logger = LogFactory
private static final Log logger = LogFactory
.getLog(SimpleAuthenticationProperties.class);

private User user = new User();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class EndpointMBeanExporter extends MBeanExporter
*/
public static final String DEFAULT_DOMAIN = "org.springframework.boot";

private static Log logger = LogFactory.getLog(EndpointMBeanExporter.class);
private static final Log logger = LogFactory.getLog(EndpointMBeanExporter.class);

private final AnnotationJmxAttributeSource attributeSource = new AnnotationJmxAttributeSource();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
public class DiskSpaceHealthIndicator extends AbstractHealthIndicator {

private static Log logger = LogFactory.getLog(DiskSpaceHealthIndicator.class);
private static final Log logger = LogFactory.getLog(DiskSpaceHealthIndicator.class);

private final DiskSpaceHealthIndicatorProperties properties;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
@ManagedResource(description = "MetricWriter for pushing metrics to JMX MBeans.")
public class JmxMetricWriter implements MetricWriter {

private static Log logger = LogFactory.getLog(JmxMetricWriter.class);
private static final Log logger = LogFactory.getLog(JmxMetricWriter.class);

private final ConcurrentMap<String, MetricValue> values = new ConcurrentHashMap<String, MetricValue>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
*/
public class MetricRegistryMetricReader implements MetricReader, MetricRegistryListener {

private static Log logger = LogFactory.getLog(MetricRegistryMetricReader.class);
private static final Log logger = LogFactory.getLog(MetricRegistryMetricReader.class);

private static final Map<Class<?>, Set<String>> numberKeys = new ConcurrentHashMap<Class<?>, Set<String>>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
*/
public class WebRequestTraceFilter extends OncePerRequestFilter implements Ordered {

private final Log logger = LogFactory.getLog(WebRequestTraceFilter.class);
private static final Log logger = LogFactory.getLog(WebRequestTraceFilter.class);

private boolean dumpRequests = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
*/
public abstract class AutoConfigurationPackages {

private static Log logger = LogFactory.getLog(AutoConfigurationPackages.class);
private static final Log logger = LogFactory.getLog(AutoConfigurationPackages.class);

private static final String BEAN = AutoConfigurationPackages.class.getName();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
@Component
public class BasicBatchConfigurer implements BatchConfigurer {

private static Log logger = LogFactory.getLog(BasicBatchConfigurer.class);
private static final Log logger = LogFactory.getLog(BasicBatchConfigurer.class);

private final BatchProperties properties;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
public class JobLauncherCommandLineRunner
implements CommandLineRunner, ApplicationEventPublisherAware {

private static Log logger = LogFactory.getLog(JobLauncherCommandLineRunner.class);
private static final Log logger = LogFactory.getLog(JobLauncherCommandLineRunner.class);

private JobParametersConverter converter = new DefaultJobParametersConverter();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
*/
abstract class BeanTypeRegistry {

static Log logger = LogFactory.getLog(BeanTypeRegistry.class);
private static final Log logger = LogFactory.getLog(BeanTypeRegistry.class);

static final String FACTORY_BEAN_OBJECT_TYPE = "factoryBeanObjectType";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class ElasticsearchAutoConfiguration implements DisposableBean {
DEFAULTS = Collections.unmodifiableMap(defaults);
}

private static Log logger = LogFactory.getLog(ElasticsearchAutoConfiguration.class);
private static final Log logger = LogFactory.getLog(ElasticsearchAutoConfiguration.class);

@Autowired
private ElasticsearchProperties properties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public ObjectMapper jacksonObjectMapper(Jackson2ObjectMapperBuilder builder) {
DateTimeSerializer.class, JacksonJodaDateFormat.class })
static class JodaDateTimeJacksonConfiguration {

private final Log log = LogFactory.getLog(JodaDateTimeJacksonConfiguration.class);
private static final Log log = LogFactory.getLog(JodaDateTimeJacksonConfiguration.class);

@Autowired
private JacksonProperties jacksonProperties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
@Import({ Registrar.class, DataSourcePoolMetadataProvidersConfiguration.class })
public class DataSourceAutoConfiguration {

private static Log logger = LogFactory.getLog(DataSourceAutoConfiguration.class);
private static final Log logger = LogFactory.getLog(DataSourceAutoConfiguration.class);

/**
* Determines if the {@code dataSource} being used by Spring was created from
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
*/
class DataSourceInitializer implements ApplicationListener<DataSourceInitializedEvent> {

private static Log logger = LogFactory.getLog(DataSourceInitializer.class);
private static final Log logger = LogFactory.getLog(DataSourceInitializer.class);

@Autowired
private ConfigurableApplicationContext applicationContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
*/
class ArtemisEmbeddedConfigurationFactory {

private Log logger = LogFactory.getLog(ArtemisEmbeddedConfigurationFactory.class);
private static final Log logger = LogFactory.getLog(ArtemisEmbeddedConfigurationFactory.class);

private final ArtemisProperties.Embedded properties;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
*/
class HornetQEmbeddedConfigurationFactory {

private Log logger = LogFactory.getLog(HornetQEmbeddedConfigurationFactory.class);
private static final Log logger = LogFactory.getLog(HornetQEmbeddedConfigurationFactory.class);

private final Embedded properties;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
@AutoConfigureAfter({ WebMvcAutoConfiguration.class, ThymeleafAutoConfiguration.class })
public class DeviceDelegatingViewResolverAutoConfiguration {

private static Log logger = LogFactory
private static final Log logger = LogFactory
.getLog(DeviceDelegatingViewResolverAutoConfiguration.class);

private static abstract class AbstractDelegateConfiguration {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
@Order(0)
public class AuthenticationManagerConfiguration {

private static Log logger = LogFactory
private static final Log logger = LogFactory
.getLog(AuthenticationManagerConfiguration.class);

@Bean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static BootGlobalAuthenticationConfigurationAdapter bootGlobalAuthenticat
private static class BootGlobalAuthenticationConfigurationAdapter
extends GlobalAuthenticationConfigurerAdapter {

private static Log logger = LogFactory
private static final Log logger = LogFactory
.getLog(BootGlobalAuthenticationConfiguration.class);

private final ApplicationContext context;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public OrderedHttpPutFormContentFilter httpPutFormContentFilter() {
@EnableConfigurationProperties({ WebMvcProperties.class, ResourceProperties.class })
public static class WebMvcAutoConfigurationAdapter extends WebMvcConfigurerAdapter {

private static Log logger = LogFactory.getLog(WebMvcConfigurerAdapter.class);
private static final Log logger = LogFactory.getLog(WebMvcConfigurerAdapter.class);

@Autowired
private ResourceProperties resourceProperties = new ResourceProperties();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*/
class Connection {

private static Log logger = LogFactory.getLog(Connection.class);
private static final Log logger = LogFactory.getLog(Connection.class);

private static final Pattern WEBSOCKET_KEY_PATTERN = Pattern
.compile("^Sec-WebSocket-Key:(.*)$", Pattern.MULTILINE);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class LiveReloadServer {
*/
public static final int DEFAULT_PORT = 35729;

private static Log logger = LogFactory.getLog(LiveReloadServer.class);
private static final Log logger = LogFactory.getLog(LiveReloadServer.class);

private static final int READ_TIMEOUT = (int) TimeUnit.SECONDS.toMillis(4);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
*/
public class HttpTunnelConnection implements TunnelConnection {

private static Log logger = LogFactory.getLog(HttpTunnelConnection.class);
private static final Log logger = LogFactory.getLog(HttpTunnelConnection.class);

private final URI uri;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
*/
public class PropertiesLauncher extends Launcher {

private final Logger logger = Logger.getLogger(Launcher.class.getName());
private static final Logger logger = Logger.getLogger(Launcher.class.getName());

/**
* Properties key for main class. As a manifest entry can also be specified as
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
public class ConfigurationWarningsApplicationContextInitializer
implements ApplicationContextInitializer<ConfigurableApplicationContext> {

private static Log logger = LogFactory
private static final Log logger = LogFactory
.getLog(ConfigurationWarningsApplicationContextInitializer.class);

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
public class FileEncodingApplicationListener
implements ApplicationListener<ApplicationEnvironmentPreparedEvent>, Ordered {

private static Log logger = LogFactory.getLog(FileEncodingApplicationListener.class);
private static final Log logger = LogFactory.getLog(FileEncodingApplicationListener.class);

@Override
public int getOrder() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class RandomValuePropertySource extends PropertySource<Random> {

private static final String PREFIX = "random.";

private static Log logger = LogFactory.getLog(RandomValuePropertySource.class);
private static final Log logger = LogFactory.getLog(RandomValuePropertySource.class);

public RandomValuePropertySource(String name) {
super(name, new Random());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
public class ServletListenerRegistrationBean<T extends EventListener>
extends RegistrationBean {

private static Log logger = LogFactory.getLog(ServletListenerRegistrationBean.class);
private static final Log logger = LogFactory.getLog(ServletListenerRegistrationBean.class);

private static final Set<Class<?>> SUPPORTED_TYPES;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
*/
public class ServletRegistrationBean extends RegistrationBean {

private static Log logger = LogFactory.getLog(ServletRegistrationBean.class);
private static final Log logger = LogFactory.getLog(ServletRegistrationBean.class);

private static final String[] DEFAULT_MAPPINGS = { "/*" };

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
public class ErrorPageFilter extends AbstractConfigurableEmbeddedServletContainer
implements Filter, NonEmbeddedServletContainerFactory {

private static Log logger = LogFactory.getLog(ErrorPageFilter.class);
private static final Log logger = LogFactory.getLog(ErrorPageFilter.class);

// From RequestDispatcher but not referenced to remain compatible with Servlet 2.5

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
*/
public class PropertySourcesLoader {

private static Log logger = LogFactory.getLog(PropertySourcesLoader.class);
private static final Log logger = LogFactory.getLog(PropertySourcesLoader.class);

private final MutablePropertySources propertySources;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
public class LiquibaseServiceLocatorApplicationListener
implements ApplicationListener<ApplicationStartedEvent> {

static final Log logger = LogFactory
private static final Log logger = LogFactory
.getLog(LiquibaseServiceLocatorApplicationListener.class);

@Override
Expand Down