Align CodecDataObject augmentations toString()
[mdsal.git] / binding / mdsal-binding-dom-codec / src / main / java / org / opendaylight / mdsal / binding / dom / codec / impl / AugmentableCodecDataObject.java
index 939348edc8b3e40a87faa3bccdeba520c4f006c7..91f0215c4d04939c5fcd797302c1839217e7496b 100644 (file)
@@ -54,7 +54,7 @@ public abstract class AugmentableCodecDataObject<T extends DataObject & Augmenta
             return (A) aug.get(augmentationType);
         }
 
-        @SuppressWarnings({"unchecked","rawtypes"})
+        @SuppressWarnings("rawtypes")
         final Optional<DataContainerCodecContext<?, ?>> optAugCtx = codecContext().possibleStreamChild(
             (Class) augmentationType);
         if (optAugCtx.isPresent()) {
@@ -97,7 +97,7 @@ public abstract class AugmentableCodecDataObject<T extends DataObject & Augmenta
 
     @Override
     final ToStringHelper codecAugmentedFillToString(final ToStringHelper helper) {
-        return super.codecAugmentedFillToString(helper).add("augmentations", augmentations());
+        return super.codecAugmentedFillToString(helper).add("augmentation", augmentations().values());
     }
 
     private static Map<Class<? extends Augmentation<?>>, Augmentation<?>> getAllAugmentations(