Cleanup deprecation warnings in bgp/extensions/mvpn
[bgpcep.git] / bgp / extensions / mvpn / src / main / java / org / opendaylight / protocol / bgp / mvpn / impl / attributes / PEDistinguisherLabelsAttributeHandler.java
index 2d8fef7bc197fe661355c727e8aef5a367ab5282..d7f06665095decb3e58f785a0ecf3d9e161b6a88 100644 (file)
@@ -87,10 +87,11 @@ public final class PEDistinguisherLabelsAttributeHandler extends AbstractAttribu
             list.add(attribute.build());
         }
 
-        builder.addAugmentation(PeDistinguisherLabelsAttributeAugmentation.class,
-                new PeDistinguisherLabelsAttributeAugmentationBuilder()
-                        .setPeDistinguisherLabelsAttribute(new PeDistinguisherLabelsAttributeBuilder()
-                                .setPeDistinguisherLabelAttribute(list).build()).build());
+        builder.addAugmentation(new PeDistinguisherLabelsAttributeAugmentationBuilder()
+            .setPeDistinguisherLabelsAttribute(new PeDistinguisherLabelsAttributeBuilder()
+                .setPeDistinguisherLabelAttribute(list)
+                .build())
+            .build());
     }
 
     @Override