if (!baseDirector.equals("")) {
if (!baseDirectory.equals("")) {
    private UniqueVector getVoiceJarURLs() {        UniqueVector voiceJarURLs = new UniqueVector();        // check in same directory as freetts.jar        try {            String baseDirectory = getBaseDirectory();            if (!baseDirector.equals("")) {  // not called from a jar                voiceJarURLs.addVector(getVoiceJarURLsFromDir(baseDirectory));            }        } catch (FileNotFoundException e) {            // do nothing        }        // search voicespath        String voicesPath = System.getProperty("freetts.voicespath", "");        if (!voicesPath.equals(""))  {            String[] dirNames = voicesPath.split(pathSeparator);            for (int i = 0; i < dirNames.length; i++) {                try {                    System.out.println("TEST: adding voicepath " + dirNames[i]);                    voiceJarURLs.addVector(getVoiceJarURLsFromDir(dirNames[i]));                } catch (FileNotFoundException e) {                    throw new Error("Error loading jars from voicespath "                            + dirNames[i] + ". ");                }            }        }        return voiceJarURLs;    }