Code clean up
[bgpcep.git] / bmp / bmp-spi / src / test / java / org / opendaylight / protocol / bmp / spi / parser / AbstractBmpMessageWithTlvParserTest.java
index 7e00539afbd0143db614eddb9b20aa5f4b071958..a97b854055fbb002474e6efebef85b57c6709e73 100644 (file)
@@ -99,7 +99,7 @@ public class AbstractBmpMessageWithTlvParserTest {
 
         @Override
         protected void addTlv(final TlvsBuilder builder, final Tlv tlv) {
-            if (tlv != null && tlv instanceof DescriptionTlv) {
+            if (tlv instanceof DescriptionTlv) {
                 builder.setDescriptionTlv((DescriptionTlv) tlv);
             }
         }