myIgnorePatterns.add(compileNamePatter(token));
if (!"".equals(token.trim())) { myIgnorePatterns.add(compileNamePatter(token)); }
    private void load() {        if (myConfigFile == null ||                 !myConfigFile.exists() || !myConfigFile.canRead() || myConfigFile.isDirectory()) {            return;        }        if (myTimeStamp == myConfigFile.lastModified()) {            return;        }        myTimeStamp = myConfigFile.lastModified();        initDefaults();        BufferedReader reader = null;        try {            reader = new BufferedReader(new FileReader(myConfigFile));            String line;            boolean misc = false;            boolean props = false;            while((line = reader.readLine()) != null) {                line = line.trim();                if (line.startsWith("#") || line.length() == 0) {                    continue;                } else if ("[miscellany]".equals(line)) {                    misc = true;                     props = false;                } else if ("[auto-props]".equals(line)) {                    misc = false;                     props = true;                } else if (line.startsWith("[") && line.endsWith("]")) {                    misc = props = false;                } else if (misc || props) {                                        // parse name=value pair.                    int i = line.indexOf('=');                    if (i <= 0) {                        continue;                    }                    String name = line.substring(0, i).trim();                    String value = i == line.length() - 1 ? "" : line.substring(i + 1).trim();                    if (misc && "use-commit-times".equals(name) ) {                        myIsUseCommitTimes = "yes".equals(value);                    } else if (misc && "enable-auto-props".equals(name)) {                        myIsAutoProperties = "yes".equals(value);                    } else if (misc && "global-ignores".equals(name)) {                        for(StringTokenizer tokens = new StringTokenizer(value, " \t"); tokens.hasMoreTokens();) {                            String token = tokens.nextToken();                            myIgnorePatterns.add(compileNamePatter(token));                        }                    } else if (props) {                        Pattern pattern = compileNamePatter(name);                        myAutoProperties.put(pattern, parseProperties(value));                    }                }            }        } catch (IOException e) {        } finally {            if (reader != null) {                try {                    reader.close();                } catch (IOException e) {                }            }        }    }