Changeset 389


Ignore:
Timestamp:
11/11/08 09:48:19 (16 years ago)
Author:
ra33
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/agents/wordprocessing/JSpellChecker.java

    r376 r389  
    7373        public static void create(Frame frame) throws FileNotFoundException,
    7474                        IOException {
    75                 if(_theInstance == null)
     75                if (_theInstance == null)
    7676                        _theInstance = new JSpellChecker();
    7777                _theInstance.init();
     
    104104
    105105                for (File dict : new File(dictDirectory).listFiles()) {
    106                         dictionaryHashMap.addDictionary(dict);
     106                        if (dict.isFile()) {
     107                                dictionaryHashMap.addDictionary(dict);
     108                        }
    107109                }
    108110
Note: See TracChangeset for help on using the changeset viewer.