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 c3d777d  deprecate forceMkdir since a close replacement exists in 
Commons IO (#156)
c3d777d is described below

commit c3d777dc409be712d4542c881e4e5e3b89026912
Author: Elliotte Rusty Harold <[email protected]>
AuthorDate: Sun Jun 18 15:23:30 2023 -0400

    deprecate forceMkdir since a close replacement exists in Commons IO (#156)
---
 src/main/java/org/apache/maven/shared/utils/io/FileUtils.java | 2 ++
 1 file changed, 2 insertions(+)

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 635c66c..a0a0a6f 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
@@ -1098,7 +1098,9 @@ public class FileUtils {
      * @throws IOException if a file already exists with the specified name or 
the directory is unable to be created
      * @throws IllegalArgumentException if the file contains illegal Windows 
characters under Windows OS.
      * @see #INVALID_CHARACTERS_FOR_WINDOWS_FILE_NAME
+     * @deprecated use {@code org.apache.commons.io.FileUtils.forceMkdir()}
      */
+    @Deprecated
     public static void forceMkdir(@Nonnull final File file) throws IOException 
{
         if (Os.isFamily(Os.FAMILY_WINDOWS) && !isValidWindowsFileName(file)) {
             throw new IllegalArgumentException(

Reply via email to