You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2020/05/27 12:27:11 UTC

[maven-shared-utils] branch dioc updated: deprecate file methods we don't need in Java 7+

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

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


The following commit(s) were added to refs/heads/dioc by this push:
     new 12949d3  deprecate file methods we don't need in Java 7+
12949d3 is described below

commit 12949d3e6c6e37be4db7d7902643c2a8e9bcc9e8
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Wed May 27 08:27:00 2020 -0400

    deprecate file methods we don't need in Java 7+
---
 src/main/java/org/apache/maven/shared/utils/io/FileUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/maven/shared/utils/io/FileUtils.java b/src/main/java/org/apache/maven/shared/utils/io/FileUtils.java
index ae25e1b..1907bce 100644
--- a/src/main/java/org/apache/maven/shared/utils/io/FileUtils.java
+++ b/src/main/java/org/apache/maven/shared/utils/io/FileUtils.java
@@ -424,7 +424,7 @@ public class FileUtils
      * @throws IOException if any
      * @deprecated use {@code java.nio.files.Files.write(file.toPath(), data.getBytes(encoding), StandardOpenOption.CREATE)}
      */
-   @Deprecated
+    @Deprecated
     public static void fileWriteArray( @Nonnull File file, @Nullable String... data )
         throws IOException
     {