Project

General

Profile

Actions

Bug #5648

closed

FileCopier code duplication

Added by Christopher Brooks over 12 years ago. Updated about 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
actors
Target version:
Start date:
08/06/2012
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5648

Description

FileCopier:

./core/src/org/kepler/util/FileCopier.java - Fixed. Unused code which was removed.

./actors/src/org/sdm/spa/actors/transport/FileCopier.java - abstract base class extended by
./actors/src/org/sdm/spa/actors/transport/SftpCopier.java:public class SftpCopier extends FileCopier {
./actors/src/org/sdm/spa/actors/transport/ScpCopier.java:public class ScpCopier extends FileCopier {
./actors/src/org/sdm/spa/actors/transport/LocalFileCopier.java:public class LocalFileCopier extends FileCopier {
./actors/src/org/sdm/spa/actors/transport/SrmliteCopier.java:public class SrmliteCopier extends FileCopier {
./actors/src/org/sdm/spa/actors/transport/BbcpCopier.java:public class BbcpCopier extends FileCopier {

Fixed - Renamed this to FileCopierBase

The class that use FileCopier base is
actors/src/org/sdm/spa/actors/transport/FileCopierFactory.java
The Actor is:
actors/src/org/sdm/spa/actors/transport/GenericFileCopier.java

These two actors should be modified to call GenericFileCopier.java
./actors/src/org/resurgence/actor/FileCopier.java
./actors/src/org/kepler/actor/ssh/FileCopier.java

Actions

Also available in: Atom PDF