Suppress unchecked cast warnings 34/5434/3
authorRobert Varga <rovarga@cisco.com>
Tue, 18 Feb 2014 10:45:26 +0000 (11:45 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 25 Feb 2014 17:39:30 +0000 (17:39 +0000)
commitde33c45a107bbaa3c1bbc160bc8dc6485ac9802e
tree8a6a3e928670e2fa9f793f9e63a3e1535dd7d70a
parent42ee9884457b948f6e9d2b898a501bbf82f1f453
Suppress unchecked cast warnings

These casts are either safe, or we need to throw an exception --
ClassCast is as good an exception as any.

Change-Id: I74026fee5004984bfc18d990a3b6fee68a1fb479
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/commons/protocol-framework/src/main/java/org/opendaylight/protocol/framework/AbstractProtocolSession.java
opendaylight/commons/protocol-framework/src/main/java/org/opendaylight/protocol/framework/AbstractSessionNegotiator.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.