Changeset 13736


Ignore:
Timestamp:
2007-01-23T11:57:26+13:00 (17 years ago)
Author:
mdewsnip
Message:

A little bit more of CollectionManager now static.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java

    r13734 r13736  
    200200    }
    201201
     202
    202203    /** a test method to see if we can delete a directory/file - returns false is the file or any of the contents of a directory cannot be deleted */
    203     public boolean canDelete(File file) {
     204    static private boolean canDelete(File file)
     205    {
    204206    if (!file.isDirectory()) {
    205207        return file.canWrite();
     
    213215    return true;
    214216    }
     217
     218
    215219    /** Called to close the current collection and remove its lock file.
    216220     * @see org.greenstone.gatherer.Gatherer
Note: See TracChangeset for help on using the changeset viewer.