app/src/main/java/com/mensa/zhmensa/services/Helper.java
/**
     * Checks if a mensa has unique menu names.
     * E.g. Tannebar always changes the names (Burritos, Mezze.) and therefore this function will return true
      * @param mensaName the mensa name
     * @param menuName the menu name
     * @return true if name is not unqiue, false otherwise
     */
Checks if a mensa has unique menu names.
Checks if a mensa has unique menu names .
private static boolean isDubiousMenuName(String mensaName, String menuName) {
       for (String mensa : UNIQUE_MENU_MENSA) {
           if(mensa.equals(mensaName)) {
               return true;
           }
       }
       return false;
    }
private static boolean isDubiousMenuName ( String mensaName , String menuName ) { for ( String mensa : UNIQUE_MENU_MENSA ) { if ( mensa . equals ( mensaName ) ) { return true ; } } return false ; }
Checks if a mensa has unique menu names.
Checks if a mensa has unique menu names .