package jfdi.storage.exceptions;

/**
 * FilePathPair pairs the original filepath of a file with the new filepath of a
 * file after a file has been moved.
 *
 * @author Thng Kai Yuan
 *
 */
public class FilePathPair {

    // The old and new filepaths
    private String oldFilePath = null;
    private String newFilePath = null;

    public FilePathPair(String oldFilePath, String newFilePath) {
        this.oldFilePath = oldFilePath;
        this.newFilePath = newFilePath;
    }

    /**
     * @return the oldFilePath
     */
    public String getOldFilePath() {
        return oldFilePath;
    }

    /**
     * @return the newFilePath
     */
    public String getNewFilePath() {
        return newFilePath;
    }
}

@@ -51,12 +51,11 @@
 air 
-pair
+map
 s th
@@ -88,12 +88,10 @@
 ile 
-with
+to
  the
@@ -107,17 +107,19 @@
 path of 
-a
+the
 %0A * file
@@ -125,22 +125,18 @@
 e after 
-a file
+it
  has bee
@@ -212,41 +212,8 @@
  %7B%0A%0A
-    // The old and new filepaths%0A
     
@@ -444,55 +444,8 @@
  %7D%0A%0A
-    /**%0A     * @return the oldFilePath%0A     */%0A
     
@@ -516,55 +516,8 @@
  %7D%0A%0A
-    /**%0A     * @return the newFilePath%0A     */%0A
     

Refactor FilePathPair