diff --git a/redisson/src/main/java/org/redisson/config/Config.java b/redisson/src/main/java/org/redisson/config/Config.java index a117c785a9bb20fe32e87c2be9dd73b4b74de3f4..a759c811ad76b5c5016b1bc60327f701b59de0cd 100644 --- a/redisson/src/main/java/org/redisson/config/Config.java +++ b/redisson/src/main/java/org/redisson/config/Config.java @@ -573,48 +573,48 @@ public class Config { @Deprecated public static Config fromJSON(String content) throws IOException { - log.error("Spring XML configuration is deprecated and will be removed in future!"); + log.error("JSON configuration is deprecated and will be removed in future!"); ConfigSupport support = new ConfigSupport(); return support.fromJSON(content, Config.class); } @Deprecated public static Config fromJSON(InputStream inputStream) throws IOException { - log.error("Spring XML configuration is deprecated and will be removed in future!"); + log.error("JSON configuration is deprecated and will be removed in future!"); ConfigSupport support = new ConfigSupport(); return support.fromJSON(inputStream, Config.class); } @Deprecated public static Config fromJSON(File file, ClassLoader classLoader) throws IOException { - log.error("Spring XML configuration is deprecated and will be removed in future!"); + log.error("JSON configuration is deprecated and will be removed in future!"); ConfigSupport support = new ConfigSupport(); return support.fromJSON(file, Config.class, classLoader); } @Deprecated public static Config fromJSON(File file) throws IOException { - log.error("Spring XML configuration is deprecated and will be removed in future!"); + log.error("JSON configuration is deprecated and will be removed in future!"); return fromJSON(file, null); } @Deprecated public static Config fromJSON(URL url) throws IOException { - log.error("Spring XML configuration is deprecated and will be removed in future!"); + log.error("JSON configuration is deprecated and will be removed in future!"); ConfigSupport support = new ConfigSupport(); return support.fromJSON(url, Config.class); } @Deprecated public static Config fromJSON(Reader reader) throws IOException { - log.error("Spring XML configuration is deprecated and will be removed in future!"); + log.error("JSON configuration is deprecated and will be removed in future!"); ConfigSupport support = new ConfigSupport(); return support.fromJSON(reader, Config.class); } @Deprecated public String toJSON() throws IOException { - log.error("Spring XML configuration is deprecated and will be removed in future!"); + log.error("JSON configuration is deprecated and will be removed in future!"); ConfigSupport support = new ConfigSupport(); return support.toJSON(this); }