Sho SHIMIZU
Committed by Gerrit Code Review

Remove unnecessary String constructor call

Change-Id: I559e270b38f3f9d7e1cdb5544ca6c9d3e73100d4
......@@ -107,7 +107,7 @@ import com.fasterxml.jackson.databind.node.ObjectNode;
*/
public class BgpTopologyProviderTest {
private static final DeviceId DID2 = DeviceId.deviceId("l3:rd=0::routinguniverse=0:asn=10");
private static final String UNKNOWN = new String("unknown");
private static final String UNKNOWN = "unknown";
public static ProviderId providerId = new ProviderId("l3", "foo");
private static final NodeId NODE1 = new NodeId("Master1");
......
......@@ -66,7 +66,7 @@ import static org.hamcrest.core.IsNull.nullValue;
* Test for PCEP topology provider.
*/
public class PcepTopologyProviderTest {
private static final String UNKNOWN = new String("unknown");
private static final String UNKNOWN = "unknown";
public static ProviderId providerId = new ProviderId("l3", "foo");
private final PcepClientControllerAdapter clientController = new PcepClientControllerAdapter();
private final PcepTopologyProvider provider = new PcepTopologyProvider();
......