From b68f9be77c78780f7b497164c2bbe15f64b06ad0 Mon Sep 17 00:00:00 2001 From: Yanming Zhou Date: Mon, 7 Apr 2025 18:11:29 +0800 Subject: [PATCH] Polish AutoConfigurationMetadataLoader Align to other final classes, the protected modifier is meaningless. Signed-off-by: Yanming Zhou --- .../boot/autoconfigure/AutoConfigurationMetadataLoader.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigurationMetadataLoader.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigurationMetadataLoader.java index a04a70b42ea1..7f560410904a 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigurationMetadataLoader.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigurationMetadataLoader.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2019 the original author or authors. + * Copyright 2012-2025 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. @@ -33,7 +33,7 @@ */ final class AutoConfigurationMetadataLoader { - protected static final String PATH = "META-INF/spring-autoconfigure-metadata.properties"; + private static final String PATH = "META-INF/spring-autoconfigure-metadata.properties"; private AutoConfigurationMetadataLoader() { }