commit | f3cbc80f16b631e6df3f08e3261a12d050905003 | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@opennetworking.org> | Wed Feb 07 08:42:50 2018 -0800 |
committer | Ray Milkey <ray@opennetworking.org> | Wed Feb 07 17:18:44 2018 +0000 |
tree | d9e38bcde152c168282107bd71ee19edabc1ab7e | |
parent | 1b1355d83f6641ff7353bc99b7513546e4c123e0 [diff] |
SONAR suggestion - remove unneeded catch of Exception Change-Id: Ic83dd4d6048a4fca3582d30a21a37595e1e8a3a8
diff --git a/protocols/openflow/ctl/src/main/java/org/onosproject/openflow/controller/impl/OFMessageEncoder.java b/protocols/openflow/ctl/src/main/java/org/onosproject/openflow/controller/impl/OFMessageEncoder.java index c541a9b..e208c3b 100644 --- a/protocols/openflow/ctl/src/main/java/org/onosproject/openflow/controller/impl/OFMessageEncoder.java +++ b/protocols/openflow/ctl/src/main/java/org/onosproject/openflow/controller/impl/OFMessageEncoder.java
@@ -47,7 +47,7 @@ protected final void encode(ChannelHandlerContext ctx, Iterable<OFMessage> msgs, - ByteBuf out) throws Exception { + ByteBuf out) { msgs.forEach(msg -> msg.writeTo(out)); }