Removed DOCUMENT ME comments that were generated and applied source code
[utils] / support / general / src / test / java / org / wamblee / io / TestData.java
index 1ddf3adaab902db7b1d6370529e93b94286f0db3..1bb7cdd63f4493e26aa4e58e51eee1ab595cb1e3 100644 (file)
@@ -28,10 +28,9 @@ import java.io.OutputStream;
 import java.nio.MappedByteBuffer;
 import java.nio.channels.FileChannel;
 
-
 /**
  * TestData provides a convenient interface for managing test output files.
- *
+ * 
  * @author Erik Brakkee
  */
 public final class TestData {
@@ -51,7 +50,7 @@ public final class TestData {
 
     /**
      * Obtain root directory of JUnit tests.
-     *
+     * 
      * @return Directory name.
      */
     private static File getTestRootDir(Object aTestcase) {
@@ -81,7 +80,7 @@ public final class TestData {
 
     /**
      * Returns a temporary directory.
-     *
+     * 
      * @return Temporary directory.
      */
     public File getTmpDir() {
@@ -98,7 +97,7 @@ public final class TestData {
 
     /**
      * Recursively copy a directory contents to the test output directory.
-     *
+     * 
      * @param sSrc
      *            Source directory to copy.
      */
@@ -109,7 +108,7 @@ public final class TestData {
     /**
      * Copies a classpath resource to a relative path in the test output
      * directory.
-     *
+     * 
      * @param aResource
      *            Resource to copy.
      * @param aRelativePath
@@ -119,7 +118,7 @@ public final class TestData {
         try {
             InputStream is = new ClassPathResource(aResource).getInputStream();
             FileOutputStream fos = new FileOutputStream(new File(root,
-                        aRelativePath));
+                aRelativePath));
             FileSystemUtils.copyStream(is, fos);
         } catch (IOException e) {
             e.printStackTrace();
@@ -129,7 +128,7 @@ public final class TestData {
 
     /**
      * Copies a resource to the root directory of the test output.
-     *
+     * 
      * @param aResource
      *            Resource.
      */
@@ -144,7 +143,7 @@ public final class TestData {
 
     /**
      * Deletes a file or directory relative to the test output root.
-     *
+     * 
      * @param aRelative
      *            Relative path. The testcase will fail if the file or directory
      *            cannot be removed.
@@ -155,7 +154,7 @@ public final class TestData {
 
     /**
      * Deletes a directory including its contents.
-     *
+     * 
      * @param aRelative
      *            Relative path.
      */
@@ -165,7 +164,7 @@ public final class TestData {
 
     /**
      * Deletes a directory recursively.
-     *
+     * 
      * @param aRelative
      *            Relative path.
      */
@@ -175,7 +174,7 @@ public final class TestData {
 
     /**
      * Gets the root of the test output directory.
-     *
+     * 
      * @return Root of the test output.
      */
     public File getRoot() {