Changeset 11078


Ignore:
Timestamp:
2006-01-20T16:59:33+13:00 (18 years ago)
Author:
mdewsnip
Message:

Tidied up debug output for delete jobs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/file/FileJob.java

    r10260 r11078  
    144144        text.append("ERROR!");
    145145    }
    146     text.append(" -> ");
    147     FileNode destination = getDestination();
    148     if(destination != null) {
    149         text.append(destination.getFile().getAbsolutePath());
    150     } 
    151     else {
    152         text.append("Recycle Bin");
     146    if (type != DELETE) {
     147        text.append(" -> ");
     148        FileNode destination = getDestination();
     149        if(destination != null) {
     150        text.append(destination.getFile().getAbsolutePath());
     151        } 
     152        else {
     153        text.append("Recycle Bin");
     154        }
    153155    }
    154156    return text.toString();
Note: See TracChangeset for help on using the changeset viewer.