This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-configuration.git


The following commit(s) were added to refs/heads/master by this push:
     new 4a9fe873 Java Java 5 Javadoc link with Java 8
4a9fe873 is described below

commit 4a9fe873947067c6b23811e5d966b20a586840d6
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Nov 12 09:34:26 2023 -0500

    Java Java 5 Javadoc link with Java 8
---
 .../org/apache/commons/configuration2/PropertiesConfiguration.java  | 2 +-
 .../apache/commons/configuration2/XMLPropertiesConfiguration.java   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/configuration2/PropertiesConfiguration.java 
b/src/main/java/org/apache/commons/configuration2/PropertiesConfiguration.java
index 17ee4c54..2082a2ee 100644
--- 
a/src/main/java/org/apache/commons/configuration2/PropertiesConfiguration.java
+++ 
b/src/main/java/org/apache/commons/configuration2/PropertiesConfiguration.java
@@ -993,7 +993,7 @@ public class PropertiesConfiguration extends 
BaseConfiguration implements FileBa
     public static final ConfigurationConsumer<ConfigurationException> 
NOOP_INCLUDE_LISTENER = e -> { /* noop */ };
 
     /**
-     * The default encoding (ISO-8859-1 as specified by 
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html)
+     * The default encoding (ISO-8859-1 as specified by 
https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html)
      */
     public static final String DEFAULT_ENCODING = "ISO-8859-1";
 
diff --git 
a/src/main/java/org/apache/commons/configuration2/XMLPropertiesConfiguration.java
 
b/src/main/java/org/apache/commons/configuration2/XMLPropertiesConfiguration.java
index 64fe72f3..ca4be005 100644
--- 
a/src/main/java/org/apache/commons/configuration2/XMLPropertiesConfiguration.java
+++ 
b/src/main/java/org/apache/commons/configuration2/XMLPropertiesConfiguration.java
@@ -55,7 +55,7 @@ import org.xml.sax.helpers.DefaultHandler;
  * &lt;/properties&gt;
  * </pre>
  *
- * The Java 5.0 runtime is not required to use this class. The default 
encoding for this configuration format is UTF-8.
+ * The Java runtime is not required to use this class. The default encoding 
for this configuration format is UTF-8.
  * Note that unlike {@code PropertiesConfiguration}, {@code 
XMLPropertiesConfiguration} does not support includes.
  *
  * <em>Note:</em>Configuration objects of this type can be read concurrently 
by multiple threads. However if one of
@@ -65,7 +65,7 @@ import org.xml.sax.helpers.DefaultHandler;
  */
 public class XMLPropertiesConfiguration extends BaseConfiguration implements 
FileBasedConfiguration, FileLocatorAware {
     /**
-     * The default encoding (UTF-8 as specified by 
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html)
+     * The default encoding (UTF-8 as specified by 
https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html)
      */
     public static final String DEFAULT_ENCODING = "UTF-8";
 
@@ -139,7 +139,7 @@ public class XMLPropertiesConfiguration extends 
BaseConfiguration implements Fil
 
     /**
      * Parses a DOM element containing the properties. The DOM element has to 
follow the XML properties format introduced in
-     * Java 5.0, see 
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html
+     * Java, see 
https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html
      *
      * @param element The DOM element
      * @throws ConfigurationException Error while interpreting the DOM

Reply via email to