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

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


The following commit(s) were added to refs/heads/master by this push:
     new 4eb4310  Add missing @Deprecated annotation (#163)
4eb4310 is described below

commit 4eb43106b0b946c0978473dde50e1202dd12a93c
Author: Elliotte Rusty Harold <[email protected]>
AuthorDate: Sat Jun 24 21:05:13 2023 +0000

    Add missing @Deprecated annotation (#163)
    
    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