src/main/java/de/blau/android/presets/AutoPreset.java
/**
     * Check if we have an icon for a key
     * 
     * @param key the tag key value
     * @return true if we have a specific icon
     */
Check if we have an icon for a key

@param key the tag key value
@return true if we have a specific icon
Check if we have an icon for a key @param key the tag key value @return true if we have a specific icon
private boolean haveIcon(@NonNull String key) {
        for (String icon : ICONSDEST) {
            if (icon.equals(key + PNG)) {
                return true;
            }
        }
        return false;
    }
private boolean haveIcon ( @ NonNull String key ) { for ( String icon : ICONSDEST ) { if ( icon . equals ( key + PNG ) ) { return true ; } } return false ; }
Check if we have an icon for a key
Check if we have an icon for a key