/*
 * Copyright (c) 2014 Brocade Communications Systems, Inc. and others.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */

package org.opendaylight.controller.md.sal.common.util.jmx;

import java.beans.ConstructorProperties;
import java.util.List;

import org.opendaylight.yangtools.util.concurrent.ListenerNotificationQueueStats;

/**
 * A bean class that holds various QueuedNotificationManager statistic metrics. This class is
 * suitable for mapping to the MXBean CompositeDataSupport type.
 *
 * <p>
 * This class is not intended for use outside of MD-SAL and its part of private
 * implementation (still exported as public to be reused across MD-SAL implementation
 * components) and may be removed in subsequent
 * releases.
 * @author Thomas Pantelis
 * @see QueuedNotificationManagerMXBeanImpl
 */
public class QueuedNotificationManagerStats {

    private final int maxListenerQueueSize;
    private final List<ListenerNotificationQueueStats> currentListenerQueueStats;

    @ConstructorProperties({"maxListenerQueueSize","currentListenerQueueStats"})
    public QueuedNotificationManagerStats(int maxListenerQueueSize,
            List<ListenerNotificationQueueStats> currentListenerQueueStats) {
        this.maxListenerQueueSize = maxListenerQueueSize;
        this.currentListenerQueueStats = currentListenerQueueStats;
    }

    public List<ListenerNotificationQueueStats> getCurrentListenerQueueStats() {
        return currentListenerQueueStats;
    }

    public int getMaxListenerQueueSize() {
        return maxListenerQueueSize;
    }
}

@@ -318,17 +318,16 @@
 tml%0A */%0A
-%0A
 package 
@@ -443,17 +443,16 @@
 l.List;%0A
-%0A
 import o
@@ -1047,17 +1047,16 @@
 Stats %7B%0A
-%0A
     priv

Fix checkstyle