Changeset 34289 for main


Ignore:
Timestamp:
2020-07-24T15:57:30+12:00 (4 years ago)
Author:
ak19
Message:

Some comments for the previous commit.

File:
1 edited

Legend:

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

    r34288 r34289  
    8585    }
    8686
     87    /** There are tasks that depend on whether a file copy was succesful, so need to maintain listeners
     88     * and need to fire events on successful copy. */
    8789    public void fireFileCopiedSuccessfully(File new_file) {
    8890    // Send the event off to all the matching Listeners
     
    9496    file_copied_success_listeners.add(listener);
    9597    }
    96 
    97     public void removeFileCopiedSuccessListener(FileCopiedSuccessListener listener)
    98     {
     98    public void removeFileCopiedSuccessListener(FileCopiedSuccessListener listener) {
    9999    file_copied_success_listeners.remove(listener);
    100100    }
     
    426426    try {
    427427        copyFile(source_file, target_file, true);
     428        // let any listeners know that the copy wasn't cancelled and took place without error
    428429        fireFileCopiedSuccessfully(source_file);
    429430    }
Note: See TracChangeset for help on using the changeset viewer.