Ignore:
Timestamp:
2009-04-23T18:48:02+12:00 (15 years ago)
Author:
ak19
Message:

Collection.getSubName() changed to getTailName() and all references to it. Subcollections has a special meaning, so do not want to confuse it with that.

File:
1 edited

Legend:

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

    r19227 r19242  
    181181     */
    182182    public String getName() {
    183     return getCollectionSubName();
    184     }
    185 
    186     /** @return just the sub-name of the collection: without any collection group prefix */
    187     public String getCollectionSubName() {
     183    return getCollectionTailName();
     184    }
     185
     186    /** @return just the tail-name of the collection: without any collection group prefix */
     187    public String getCollectionTailName() {
    188188    return file.getParentFile().getName();
    189189    }
     
    221221        // shouldn't happen, but in case it does, just return the collection name.
    222222        System.err.println("Current collection " + currentCollDir + " is not located inside collectdir " + "collectDir");
    223         groupAndCol = getCollectionSubName();
     223        groupAndCol = getCollectionTailName();
    224224    }
    225225
Note: See TracChangeset for help on using the changeset viewer.