if (asb.equals("CSMI-0001") && log.isErrorEnabled()) { log.error("clnOldRuntime wants to delete CSMI-0001! Sub: " + substitutions, new Throwable("Who is the culprit?")); }
  private void cleanOldRuntimeSocietyAssemblies() throws SQLException {    ResultSet rs =      executeQuery(stmt, dbp.getQuery("queryOldSocietyRuntimeAssembliesToClean", substitutions));    while (rs.next()) {      String asb = rs.getString(1);      if (asb == null || asb.equals(""))	continue;      substitutions.put(":assemblies_to_clean:", "(" + sqlQuote(asb) + ")");      if (log.isDebugEnabled()) {	log.debug("Cleaning asb from runtime: " + asb);      }      executeUpdate(dbp.getQuery("cleanTrialAssembly", substitutions));      // So we've just removed the assembly from the config time.      // Will remove it now unless it is also in runtime      if (log.isDebugEnabled() && assemblyInConfig(asb)) {	log.debug("In CleanOld with asb " + asb + " but wont really delete cause its in configtime for trial " + trialId);      }      if (! isAssemblyUsed(asb))	cleanAssembly(asb);    }    rs.close();  }