Deprecate [Property|Preferences]PlaceholderConfigurer for removal
PropertyPlaceholderConfigurer and PreferencesPlaceholderConfigurer have been officially deprecated since Spring Framework 5.2. Since we no longer expect applications to depend on these outdated mechanisms, this commit deprecates these classes "for removal" in Spring Framework 8.0. Closes gh-34880
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2023 the original author or authors.
|
||||
* Copyright 2002-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.
|
||||
@@ -39,7 +39,7 @@ class PropertyPlaceholderBeanDefinitionParser extends AbstractPropertyLoadingBea
|
||||
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("deprecation")
|
||||
@SuppressWarnings({"deprecation", "removal"})
|
||||
protected Class<?> getBeanClass(Element element) {
|
||||
// The default value of system-properties-mode is 'ENVIRONMENT'. This value
|
||||
// indicates that resolution of placeholders against system properties is a
|
||||
|
||||
Reference in New Issue
Block a user