From 49ec9880a4e70e4bc48a517161438c81a9661279 Mon Sep 17 00:00:00 2001
From: tpylak <tpylak>
Date: Tue, 24 Mar 2009 14:15:31 +0000
Subject: [PATCH] LMS-791 minor: remove method from common, it exists in apache
 io library

SVN: 10347
---
 .../cisd/common/filesystem/FileUtilities.java | 30 -------------------
 1 file changed, 30 deletions(-)

diff --git a/common/source/java/ch/systemsx/cisd/common/filesystem/FileUtilities.java b/common/source/java/ch/systemsx/cisd/common/filesystem/FileUtilities.java
index 84561c7460d..4d44c8fc38b 100644
--- a/common/source/java/ch/systemsx/cisd/common/filesystem/FileUtilities.java
+++ b/common/source/java/ch/systemsx/cisd/common/filesystem/FileUtilities.java
@@ -130,36 +130,6 @@ public final class FileUtilities
             }
         }
     }
-    
-    /**
-     * Copies the source directory recursively to the destination directory
-     * 
-     * @param sourcePath source which will be copied
-     * @param destinationPath where the copy will be made
-     */
-    public static void copyDirectory(File sourcePath, File destinationPath)
-    {
-        if (sourcePath.isDirectory())
-        {
-            if (!destinationPath.exists())
-            {
-                destinationPath.mkdir();
-            }
-            String files[] = sourcePath.list();
-            for (int i = 0; i < files.length; i++)
-            {
-                copyDirectory(new File(sourcePath, files[i]), new File(destinationPath, files[i]));
-            }
-        } else
-        {
-            if (!sourcePath.exists())
-            {
-                throw new EnvironmentFailureException("File or directory does not exist: "
-                        + sourcePath);
-            }
-            copyFileTo(sourcePath, destinationPath, false);
-        }
-    }
 
     /**
      * Loads a text file to a {@link String}.
-- 
GitLab