src/main/java/de/blau/android/util/Snack.java
/**
     * Dismiss the first entry on the queue if it is being shown
     * 
     * Note: caller needs to provide synchronization
     * 
     * @param queue the queue to check
     */
Dismiss the first entry on the queue if it is being shown

caller needs to provide synchronization

@param queue the queue to check
Dismiss the first entry on the queue if it is being shown caller needs to provide synchronization @param queue the queue to check
static void dismiss(LinkedList<Snackbar> queue) {
        Snackbar first = queue.peekFirst();
        if (first != null && !first.isShown()) {
            first.dismiss();
        }
    }
static void dismiss ( LinkedList < Snackbar > queue ) { Snackbar first = queue . peekFirst ( ) ; if ( first != null && ! first . isShown ( ) ) { first . dismiss ( ) ; } }
Dismiss the first entry on the queue if it is being shown
Dismiss the first entry on the queue if it is being shown