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

elharo pushed a commit to branch elharo-patch-1
in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git

commit 8d71290fb4f2227cdb5be5bc92bba551fb067652
Author: Elliotte Rusty Harold <[email protected]>
AuthorDate: Sat Jun 24 11:36:48 2023 +0000

    Add missing @Deprecated annotation
    
    There's already an @deprecated jaavdoc comment
---
 src/main/java/org/apache/maven/shared/utils/ReaderFactory.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/maven/shared/utils/ReaderFactory.java 
b/src/main/java/org/apache/maven/shared/utils/ReaderFactory.java
index 6df3a1b..7dfd8ef 100644
--- a/src/main/java/org/apache/maven/shared/utils/ReaderFactory.java
+++ b/src/main/java/org/apache/maven/shared/utils/ReaderFactory.java
@@ -102,6 +102,7 @@ public class ReaderFactory {
      * The <code>file.encoding</code> System Property.
      * @deprecated use {@code java.nio.charset.Charset.getDefaultCharset()}
      */
+    @Deprecated
     public static final String FILE_ENCODING = 
System.getProperty("file.encoding");
 
     /**

Reply via email to