Fix checkstyle violations in sal-binding-broker
[controller.git] / opendaylight / md-sal / sal-binding-broker / src / test / java / org / opendaylight / controller / md / sal / binding / impl / test / Bug2562DeserializedUnkeyedListTest.java
index 94d727287c6b3cb9ca44985341d3d58027dac4d0..57d390b176aa8a8f15d29fa0c918bd813fef7a34 100644 (file)
@@ -35,10 +35,10 @@ public class Bug2562DeserializedUnkeyedListTest extends AbstractDataChangeListen
     private void writeRoot(final LogicalDatastoreType store) {
         final ReadWriteTransaction readWriteTransaction = getDataBroker().newReadWriteTransaction();
         final Barroot barRoot = new BarrootBuilder().setType(2).setValue(2).setKey(new BarrootKey(2)).build();
-        final ArrayList barRootList = new ArrayList();
+        final ArrayList<Barroot> barRootList = new ArrayList<>();
         barRootList.add(barRoot);
         final Fooroot fooRoot = new FoorootBuilder().setBarroot(barRootList).build();
-        final ArrayList fooRootList = new ArrayList();
+        final ArrayList<Fooroot> fooRootList = new ArrayList<>();
         fooRootList.add(fooRoot);
         final Root root = new RootBuilder().setFooroot(fooRootList).build();
 
@@ -48,8 +48,8 @@ public class Bug2562DeserializedUnkeyedListTest extends AbstractDataChangeListen
 
     @Test
     public void writeListToList2562Root() {
-        final AbstractDataChangeListenerTest.TestListener listenerRoot = createListener(LogicalDatastoreType.CONFIGURATION,
-                ROOT_PATH, AsyncDataBroker.DataChangeScope.ONE, false);
+        final AbstractDataChangeListenerTest.TestListener listenerRoot =
+            createListener(LogicalDatastoreType.CONFIGURATION, ROOT_PATH, AsyncDataBroker.DataChangeScope.ONE, false);
         writeRoot(LogicalDatastoreType.CONFIGURATION);
         final AsyncDataChangeEvent<InstanceIdentifier<?>, DataObject> eventRoot = listenerRoot.event();