Ignore:
Timestamp:
2004-05-05T11:23:40+12:00 (20 years ago)
Author:
kjdon
Message:

renamed Utility.CONFIG_DIR to Utility.CONFIG_FILE cos it refers to the file, not the directory. Also getConfigDir renamed to getConfigFile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/gui/NewCollectionDetailsPrompt.java

    r7224 r7275  
    5555    for(int i = 0; children != null && i < children.length; i++) {
    5656        if(children[i].isDirectory()) {
    57         File config_file = new File(children[i], Utility.CONFIG_DIR);
     57        File config_file = new File(children[i], Utility.CONFIG_FILE);
    5858        if(current_config_file == null || !config_file.equals(current_config_file)) {
    5959            BasicCollectionConfiguration other_collection = new BasicCollectionConfiguration(config_file);
     
    108108    for (int i = 0; possible_collections != null && i < possible_collections.length; i++) {
    109109        // If the directory has a etc/collect.cfg file then it looks like a collection
    110         File collect_cfg_file = new File(possible_collections[i], Utility.CONFIG_DIR);
     110        File collect_cfg_file = new File(possible_collections[i], Utility.CONFIG_FILE);
    111111        if (collect_cfg_file.exists()) {
    112112        // If the directory has a metadata/ then the collection can be used as a base
Note: See TracChangeset for help on using the changeset viewer.