Fix logging checkstye violations in samples
See gh-14911
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2016 the original author or authors.
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
package sample.cache;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
import org.springframework.boot.CommandLineRunner;
|
||||
import org.springframework.cache.CacheManager;
|
||||
@@ -26,7 +26,7 @@ import org.springframework.stereotype.Component;
|
||||
@Component
|
||||
public class CacheManagerCheck implements CommandLineRunner {
|
||||
|
||||
private static final Logger logger = LoggerFactory.getLogger(CacheManagerCheck.class);
|
||||
private static final Log logger = LogFactory.getLog(CacheManagerCheck.class);
|
||||
|
||||
private final CacheManager cacheManager;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user