Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
Removed unnecessary ConnectionConfigurations
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Osborn <osbornjd@ornl.gov>
  • Loading branch information
Joe Osborn committed Sep 5, 2019
1 parent 19f16d5 commit 62bd67e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
Expand Up @@ -48,15 +48,6 @@ public abstract class FileHandler implements IFileHandler {
*/
Command copyCommand;

/**
* The ConnectionConfiguration associated with the source file
*/
ConnectionConfiguration sourceConfiguration;

/**
* The ConnectionConfiguration associated with the destination file
*/
ConnectionConfiguration destinationConfiguration;

/**
* A status member variable that indicates the status of the file transfer. See
Expand Down Expand Up @@ -191,6 +182,8 @@ protected CommandStatus executeCopy(final String destination) {
* @return - CommandStatus indicating whether or not the transfer completed successfully
*/
protected CommandStatus executeMove(final String destination) {


// Execute the file transfer
transferStatus = moveCommand.execute();

Expand Down
Expand Up @@ -47,6 +47,7 @@ public CommandStatus move(final String source, final String destination) throws
// Check the file existence. If they don't exist, an exception is thrown
checkExistence(source, destination);


// Execute and process the file transfer
transferStatus = executeMove(destination);

Expand Down

0 comments on commit 62bd67e

Please sign in to comment.