Fix Checkstyle violations

* Upgrade to Spring Security `6.0.0-M5`
This commit is contained in:
Artem Bilan
2022-05-18 13:56:01 -04:00
parent ed6f26104f
commit 1790f235b7
4 changed files with 5 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2021 the original author or authors.
* Copyright 2002-2022 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.
@@ -21,7 +21,6 @@ import java.lang.reflect.InvocationTargetException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.Properties;
import java.util.Set;
import java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy;
@@ -375,16 +374,7 @@ public abstract class TestUtils {
ctx.updateLoggers();
}
public static class LevelsContainer {
private final Map<Class<?>, Level> classLevels;
private final Map<String, Level> categoryLevels;
public LevelsContainer(Map<Class<?>, Level> classLevels, Map<String, Level> categoryLevels) {
this.classLevels = classLevels;
this.categoryLevels = categoryLevels;
}
public record LevelsContainer(Map<Class<?>, Level> classLevels, Map<String, Level> categoryLevels) {
}