取出警告线

This commit is contained in:
click33 2022-02-11 23:11:45 +08:00
parent 8a00231000
commit 1d60239d22
3 changed files with 4 additions and 3 deletions

View File

@ -7,7 +7,7 @@ import java.util.regex.Pattern;
public class PathAnalyzer {
private static Map<String, PathAnalyzer> cached = new LinkedHashMap();
private static Map<String, PathAnalyzer> cached = new LinkedHashMap<>();
private Pattern pattern;
public static PathAnalyzer get(String expr) {

View File

@ -23,7 +23,8 @@ public class SaJedisImpl {
private final JbootSerializer serializer;
protected JedisPool jedisPool;
private static final Log LOG = Log.getLog(SaJedisImpl.class);
@SuppressWarnings("unused")
private static final Log LOG = Log.getLog(SaJedisImpl.class);
private final SaRedisConfig config;
public SaJedisImpl(SaRedisConfig config) {
if (config == null || StrUtil.isBlank(config.getSerializer())) {

View File

@ -7,7 +7,7 @@ import java.util.regex.Pattern;
public class PathAnalyzer {
private static Map<String, PathAnalyzer> cached = new LinkedHashMap();
private static Map<String, PathAnalyzer> cached = new LinkedHashMap<>();
private Pattern pattern;
public static PathAnalyzer get(String expr) {