public Map getRecipeNamesFromDatabase() { createLogger();
public static Map getRecipeNamesFromDatabase() { Logger log = CSMART.createLogger("org.cougaar.tools.csmart.ui.viewer.OrganizerHelper");
  public Map getRecipeNamesFromDatabase() {    createLogger();        Map recipes = new TreeMap();    String query = null;    try {      Connection conn = DBUtils.getConnection();      Statement stmt = conn.createStatement();      Map substitutions = new HashMap();      query = DBUtils.getQuery("queryLibRecipes", substitutions);      ResultSet rs = stmt.executeQuery(query);      while(rs.next()) {        recipes.put(rs.getString(2), rs.getString(1));      }      rs.close();      stmt.close();      conn.close();       } catch (SQLException se) {      if(log.isErrorEnabled()) {        log.error("Caught SQL exception getting recipe names " + query, se);      }    }            return recipes;  }