Changeset 8213


Ignore:
Timestamp:
2004-10-04T15:36:28+13:00 (20 years ago)
Author:
kjdon
Message:

added a check for no collect directory in CollectionListModel()

File:
1 edited

Legend:

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

    r7794 r8213  
    271271        collect_folder = new File(Utility.getCollectDir(Gatherer.config.gsdl_path));
    272272        }
     273        if (!collect_folder.exists()) {
     274        collect_folder = null;
     275        return;
     276        }
    273277        File[] collection_folders = collect_folder.listFiles();
    274278        for(int i = 0; i < collection_folders.length; i++) {
Note: See TracChangeset for help on using the changeset viewer.