protected synchronized boolean loadJar(String jarFileName){
  boolean ret=loadedJars.contains(jarFileName);
  if (!ret) {
    try {
      logger.fine("adding " + jarFileName + " to classpath");
      ClasspathHacker.addFile(jarFileName);
    }
 catch (    IOException ioe) {
      logger.warning("couldn't add map data jar file: " + jarFileName);
    }
    loadedJars.add(jarFileName);
  }
  return !ret;
}

protected synchronized boolean loadJar ( String jarFileName ) { boolean ret = loadedJars . contains ( jarFileName ) ; if ( ! ret ) { try { logger . fine ( "adding " + jarFileName + " to classpath" ) ; ClasspathHacker . addFile ( jarFileName ) ; } catch ( IOException ioe ) { logger . warning ( "couldn't add map data jar file: " + jarFileName ) ; } loadedJars . add ( jarFileName ) ; } return ! ret ; }
load the jar if necessary . not called anymore , but left here as a note on how to dynamically modify the classpath to add a jar at runtime .
