diff --git a/implementation/src/main/java/io/smallrye/config/ConfigSourceInterceptor.java b/implementation/src/main/java/io/smallrye/config/ConfigSourceInterceptor.java index 299dd865e..62b125185 100644 --- a/implementation/src/main/java/io/smallrye/config/ConfigSourceInterceptor.java +++ b/implementation/src/main/java/io/smallrye/config/ConfigSourceInterceptor.java @@ -64,6 +64,7 @@ default Iterator iterateNames(ConfigSourceInterceptorContext context) { * * @return an Iterator of {@link ConfigValue} with information about the name, value, config source and ordinal. */ + @Deprecated(forRemoval = true) default Iterator iterateValues(ConfigSourceInterceptorContext context) { return context.iterateValues(); } diff --git a/implementation/src/main/java/io/smallrye/config/ConfigSourceInterceptorContext.java b/implementation/src/main/java/io/smallrye/config/ConfigSourceInterceptorContext.java index 4f443e85a..d679e33ef 100644 --- a/implementation/src/main/java/io/smallrye/config/ConfigSourceInterceptorContext.java +++ b/implementation/src/main/java/io/smallrye/config/ConfigSourceInterceptorContext.java @@ -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 iterateValues(); } diff --git a/implementation/src/main/java/io/smallrye/config/ConfigSourceMap.java b/implementation/src/main/java/io/smallrye/config/ConfigSourceMap.java index e84cad402..776cef381 100644 --- a/implementation/src/main/java/io/smallrye/config/ConfigSourceMap.java +++ b/implementation/src/main/java/io/smallrye/config/ConfigSourceMap.java @@ -43,6 +43,7 @@ *

* The backing collections are assumed to be immutable. */ +@Deprecated(forRemoval = true) public class ConfigSourceMap extends AbstractMap implements Map, Serializable { private static final long serialVersionUID = -6694358608066599032L; diff --git a/implementation/src/main/java/io/smallrye/config/SmallRyeConfig.java b/implementation/src/main/java/io/smallrye/config/SmallRyeConfig.java index 6ae6d5200..1376fc189 100644 --- a/implementation/src/main/java/io/smallrye/config/SmallRyeConfig.java +++ b/implementation/src/main/java/io/smallrye/config/SmallRyeConfig.java @@ -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;