notification-portlet-webapp/src/main/java/org/jasig/portlet/notice/action/hide/HideAction.java
@Override
    public void invoke(final ActionRequest req, final ActionResponse res) throws IOException {

        final NotificationEntry entry = getTarget();

        /*
         * The HideAction works like a toggle
         */
        if (!isEntrySnoozed(entry, req)) {
            // Hide it...
            hide(entry, req);
        } else {
            // Un-hide it...
            unhide(entry, req);
        }

    }
@Override
    public void invoke(final ActionRequest req, final ActionResponse res) throws IOException {

        final NotificationEntry entry = getTarget();

        /*
         * The HideAction works like a toggle
         */
        if (!isEntrySnoozed(entry, req)) {
            // Hide it...
            hide(entry, req);
        } else {
            // Un-hide it...
            unhide(entry, req);
        }

    }
@ Override public void invoke ( final ActionRequest req , final ActionResponse res ) throws IOException { final NotificationEntry entry = getTarget ( ) ; /*
         * The HideAction works like a toggle
         */ if ( ! isEntrySnoozed ( entry , req ) ) { // Hide it... hide ( entry , req ) ; } else { // Un-hide it... unhide ( entry , req ) ; } }
Invoking a HideAction toggles it.
Invoking a HideAction toggles it .