[kepler-dev] [Bug 5648] New: FileCopier code duplication

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Mon Aug 6 16:23:11 PDT 2012


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5648

             Bug #: 5648
           Summary: FileCopier code duplication
    Classification: Unclassified
           Product: Kepler
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: actors
        AssignedTo: barseghian at nceas.ucsb.edu
        ReportedBy: cxh at eecs.berkeley.edu
         QAContact: kepler-dev at kepler-project.org


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

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Kepler-dev mailing list