private void uninstallModule(ModuleIdentifier modID) {
    File modDir = new File(modRoot, modID.toString());
    if (modDir.exists()) {
      modDir.delete();
    }
  }
private void uninstallModule ( ModuleIdentifier modID ) { File modDir = new File ( modRoot , modID . toString ( ) ) ; if ( modDir . exists ( ) ) { modDir . delete ( ) ; } }
Uninstalls a module.