X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fmessagebus-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmessagebus%2Fapp%2Fimpl%2FEventSourceTopic.java;h=c60562d3d4392dca7f5e1e3ca40da4e8bbe9961b;hb=2727bea09c83646b6cbd2ef9672d0b7f6cf3b22f;hp=13e50b5ce57030b9a1a97864c02b2fe1613c33bd;hpb=9f1061c46af5220ad95d8d0b94411ba2fd832a50;p=controller.git diff --git a/opendaylight/md-sal/messagebus-impl/src/main/java/org/opendaylight/controller/messagebus/app/impl/EventSourceTopic.java b/opendaylight/md-sal/messagebus-impl/src/main/java/org/opendaylight/controller/messagebus/app/impl/EventSourceTopic.java index 13e50b5ce5..c60562d3d4 100644 --- a/opendaylight/md-sal/messagebus-impl/src/main/java/org/opendaylight/controller/messagebus/app/impl/EventSourceTopic.java +++ b/opendaylight/md-sal/messagebus-impl/src/main/java/org/opendaylight/controller/messagebus/app/impl/EventSourceTopic.java @@ -39,10 +39,7 @@ public class EventSourceTopic implements DataChangeListener { public EventSourceTopic(final NotificationPattern notificationPattern, final String nodeIdPattern, final EventSourceService eventSource) { this.notificationPattern = Preconditions.checkNotNull(notificationPattern); this.sourceService = eventSource; - - // FIXME: regex should be the language of nodeIdPattern - final String regex = Util.wildcardToRegex(nodeIdPattern); - this.nodeIdPattern = Pattern.compile(regex); + this.nodeIdPattern = Pattern.compile(nodeIdPattern); this.topicId = new TopicId(Util.getUUIDIdent()); }