HIGUCHI Yuta
Committed by Yuta HIGUCHI

Should compere scheme.

- Bugfix for bug introduced in bugfix for ONOS-3509

Change-Id: I459112483e22c0493bf9c628a0540036f8ee779b
......@@ -288,7 +288,7 @@ public class ECDeviceStore
} else {
// Only forward for ConfigProvider
// Forwarding was added as a workaround for ONOS-490
if (!providerId.equals("cfg")) {
if (!providerId.scheme().equals("cfg")) {
return null;
}
DeviceInjectedEvent deviceInjectedEvent = new DeviceInjectedEvent(providerId, deviceId, deviceDescription);
......@@ -420,7 +420,7 @@ public class ECDeviceStore
} else {
// Only forward for ConfigProvider
// Forwarding was added as a workaround for ONOS-490
if (!providerId.equals("cfg")) {
if (!providerId.scheme().equals("cfg")) {
return null;
}
if (master == null) {
......
......@@ -332,7 +332,7 @@ public class GossipDeviceStore
} else {
// Only forward for ConfigProvider
// Forwarding was added as a workaround for ONOS-490
if (!providerId.equals("cfg")) {
if (!providerId.scheme().equals("cfg")) {
return null;
}
// FIXME Temporary hack for NPE (ONOS-1171).
......@@ -585,7 +585,7 @@ public class GossipDeviceStore
} else {
// Only forward for ConfigProvider
// Forwarding was added as a workaround for ONOS-490
if (!providerId.equals("cfg")) {
if (!providerId.scheme().equals("cfg")) {
return null;
}
// FIXME Temporary hack for NPE (ONOS-1171).
......
......@@ -220,7 +220,7 @@ public class ECLinkStore
} else {
// Only forward for ConfigProvider
// Forwarding was added as a workaround for ONOS-490
if (!providerId.equals("cfg")) {
if (!providerId.scheme().equals("cfg")) {
return null;
}
// Temporary hack for NPE (ONOS-1171).
......
......@@ -325,7 +325,7 @@ public class GossipLinkStore
} else {
// Only forward for ConfigProvider
// Forwarding was added as a workaround for ONOS-490
if (!providerId.equals("cfg")) {
if (!providerId.scheme().equals("cfg")) {
return null;
}
// FIXME Temporary hack for NPE (ONOS-1171).
......