Fix checkstyle problems not detected by the current version
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / java / org / opendaylight / controller / cluster / datastore / actors / ShardSnapshotActorTest.java
index ae9499744f924fd1f932565e4057c9e3519b9091..f3660da6466138614a0d32659dd972cb92b84566 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
+ * Copyright (c) 2016, 2017 Cisco Systems, Inc. and others.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -49,7 +49,7 @@ public class ShardSnapshotActorTest extends AbstractActorTest {
 
                 if (installSnapshotStream != null) {
                     final ShardDataTreeSnapshot deserialized;
-                    try (final ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(
+                    try (ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(
                             installSnapshotStream.toByteArray()))) {
                         deserialized = ShardDataTreeSnapshot.deserialize(in);
                     }