try { if (checkRecipeExistence(rc) == null) return RECIPE_STATUS_ABSENT; else return RECIPE_STATUS_EXISTS; } catch (SQLException sqle) { return RECIPE_STATUS_DIFFERS; }
String[] recipeIdAndClass = getRecipeIdAndClass(rc.getRecipeName()); if (recipeIdAndClass == null) return RECIPE_STATUS_ABSENT; else { if (isRecipeEqual(recipeIdAndClass, rc)) return RECIPE_STATUS_EXISTS; else return RECIPE_STATUS_DIFFERS;
    public int recipeExists(RecipeComponent rc) {        try {            if (checkRecipeExistence(rc) == null)                return RECIPE_STATUS_ABSENT;            else                return RECIPE_STATUS_EXISTS;        } catch (SQLException sqle) {            return RECIPE_STATUS_DIFFERS;        }    }