Github user merrimanr commented on a diff in the pull request:
    --- Diff: 
    @@ -181,7 +185,8 @@ public void declareOutputFields(OutputFieldsDeclarer 
declarer) {
       public void updateConfig(String path, byte[] data) throws IOException {
         super.updateConfig(path, data);
    -    if (path.startsWith(ConfigurationType.PARSER.getZookeeperRoot() + "/" 
+ getSensorType())) {
    +    String pathWithoutTrailingSlash = path.replaceAll("/+$", "");
    +    if 
(pathWithoutTrailingSlash.equals(ConfigurationType.PARSER.getZookeeperRoot() + 
"/" + getSensorType())) {
    --- End diff --
    I'm sorry I don't follow.  ConfigurationType.PARSER.getZookeeperRoot() is 
constant and sensorType is a leaf node in Zookeeper.  Maybe an example will 

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to