Fix raw type warnings
[controller.git] / opendaylight / md-sal / sal-clustering-commons / src / main / java / org / opendaylight / controller / cluster / datastore / node / utils / NodeIdentifierWithValueGenerator.java
index 2d434fffcfe8b9f538aa51f828a382498f21e9bd..9dce97f9aae4341933b16b5fc4c5959987e09d49 100644 (file)
@@ -1,11 +1,9 @@
 /*
+ * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others.  All rights reserved.
  *
- *  Copyright (c) 2014 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,
- *  and is available at http://www.eclipse.org/legal/epl-v10.html
- *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
 
 package org.opendaylight.controller.cluster.datastore.node.utils;
@@ -40,7 +38,7 @@ public class NodeIdentifierWithValueGenerator{
             final String name = matcher.group(1);
             final String value = matcher.group(2);
 
-            return new YangInstanceIdentifier.NodeWithValue(
+            return new YangInstanceIdentifier.NodeWithValue<>(
                 QNameFactory.create(name), getValue(value));
         }