Polish static finals
Closes gh-12083
This commit is contained in:
committed by
Phillip Webb
parent
752a42710c
commit
fe023817c7
@@ -48,7 +48,7 @@ import org.springframework.util.StringUtils;
|
||||
*/
|
||||
public class EncodePasswordCommand extends OptionParsingCommand {
|
||||
|
||||
private static Map<String, Supplier<PasswordEncoder>> ENCODERS;
|
||||
private static final Map<String, Supplier<PasswordEncoder>> ENCODERS;
|
||||
|
||||
static {
|
||||
Map<String, Supplier<PasswordEncoder>> encoders = new LinkedHashMap<>();
|
||||
|
||||
@@ -54,7 +54,7 @@ import org.springframework.core.Ordered;
|
||||
public abstract class GenericBomAstTransformation
|
||||
implements SpringBootAstTransformation, Ordered {
|
||||
|
||||
private static ClassNode BOM = ClassHelper.make(DependencyManagementBom.class);
|
||||
private static final ClassNode BOM = ClassHelper.make(DependencyManagementBom.class);
|
||||
|
||||
@Override
|
||||
public void visit(ASTNode[] nodes, SourceUnit source) {
|
||||
|
||||
Reference in New Issue
Block a user