X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fconfig%2Fconfig-api%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconfig%2Fapi%2FModuleIdentifierTest.java;h=2e78e69ed4b4d0a3d8bfb9f31d8706a2c14c42e6;hp=edfcc2611324008a898d876424f4f1a394c1cc3a;hb=f43b01b81319959b1907e3e04537f5169e7f33d8;hpb=49a8f637c547627c17fe27670a3e69e4ec01f610 diff --git a/opendaylight/config/config-api/src/test/java/org/opendaylight/controller/config/api/ModuleIdentifierTest.java b/opendaylight/config/config-api/src/test/java/org/opendaylight/controller/config/api/ModuleIdentifierTest.java index edfcc26113..2e78e69ed4 100644 --- a/opendaylight/config/config-api/src/test/java/org/opendaylight/controller/config/api/ModuleIdentifierTest.java +++ b/opendaylight/config/config-api/src/test/java/org/opendaylight/controller/config/api/ModuleIdentifierTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. + * Copyright (c) 2014, 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, @@ -19,12 +19,12 @@ public class ModuleIdentifierTest { @Test(expected = IllegalArgumentException.class) public void testConstructor() throws Exception { - ModuleIdentifier m = new ModuleIdentifier(null, "instance"); + ModuleIdentifier moduleIdentifier = new ModuleIdentifier(null, "instance"); } @Test(expected = IllegalArgumentException.class) public void testConstructor2() throws Exception { - ModuleIdentifier m = new ModuleIdentifier("name", null); + ModuleIdentifier moduleIdentifier = new ModuleIdentifier("name", null); } @Test @@ -63,7 +63,7 @@ public class ModuleIdentifierTest { @Test public void testToString() throws Exception { - assertEquals( new ModuleIdentifier("factory", "instance").toString(), + assertEquals(new ModuleIdentifier("factory", "instance").toString(), new ModuleIdentifier("factory", "instance").toString()); } }