Skip to content

Commit

Permalink
Deprecate unused APIs (#999)
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez authored Sep 14, 2023
1 parent 48d67a1 commit e06b7b7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ default Iterator<String> iterateNames(ConfigSourceInterceptorContext context) {
*
* @return an Iterator of {@link ConfigValue} with information about the name, value, config source and ordinal.
*/
@Deprecated(forRemoval = true)
default Iterator<ConfigValue> iterateValues(ConfigSourceInterceptorContext context) {
return context.iterateValues();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ public interface ConfigSourceInterceptorContext extends Serializable {
*
* @return an Iterator of {@link ConfigValue} with information about the name, value, config source and ordinal.
*/
@Deprecated(forRemoval = true)
Iterator<ConfigValue> iterateValues();
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
* <p>
* The backing collections are assumed to be immutable.
*/
@Deprecated(forRemoval = true)
public class ConfigSourceMap extends AbstractMap<String, String> implements Map<String, String>, Serializable {
private static final long serialVersionUID = -6694358608066599032L;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ public ConfigValue getConfigValue(String name) {
* @param name the property name (must not be {@code null})
* @return the raw value, or {@code null} if no property value was discovered for the given property name
*/
@Deprecated(forRemoval = true)
public String getRawValue(String name) {
final ConfigValue configValue = getConfigValue(name);
return configValue != null && configValue.getValue() != null ? configValue.getValue() : null;
Expand Down

0 comments on commit e06b7b7

Please sign in to comment.