summaryrefslogtreecommitdiffstats
path: root/routing/routing-impl/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'routing/routing-impl/src/main/java')
-rw-r--r--routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/write/RoutingInterfaceCustomizer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/write/RoutingInterfaceCustomizer.java b/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/write/RoutingInterfaceCustomizer.java
index d8737ce07..e898c718c 100644
--- a/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/write/RoutingInterfaceCustomizer.java
+++ b/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/write/RoutingInterfaceCustomizer.java
@@ -33,7 +33,7 @@ import org.slf4j.LoggerFactory;
/**
* Dummy customizer for Interfaces node responsible for validation only.
*/
-public class RoutingInterfaceCustomizer implements ListWriterCustomizer<Interface, InterfaceKey> {
+final class RoutingInterfaceCustomizer implements ListWriterCustomizer<Interface, InterfaceKey> {
private static final Logger LOG = LoggerFactory.getLogger(RoutingInterfaceCustomizer.class);
@@ -68,6 +68,6 @@ public class RoutingInterfaceCustomizer implements ListWriterCustomizer<Interfac
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface.class,
new org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.InterfaceKey(
ifcName));
- checkArgument(writeContext.readAfter(id).isPresent(), "Interface %s is not configured");
+ checkArgument(writeContext.readAfter(id).isPresent(), "Interface %s is not configured", ifcName);
}
}