Github user hanm commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/179#discussion_r101838431
  
    --- Diff: 
src/java/main/org/apache/zookeeper/server/command/FourLetterCommands.java ---
    @@ -153,13 +159,50 @@
          */
         public final static int telnetCloseCmd = 0xfff4fffd;
     
    -    final static HashMap<Integer, String> cmd2String =
    -        new HashMap<Integer, String>();
    +    private static final String ZOOKEEPER_4LW_COMMANDS_WHITELIST = 
"zookeeper.4lw.commands.whitelist";
    +
    +    // A property only used in tests to turn on / off entire set of 
supported four letter word commands.
    +    private static final String ZOOKEEPER_4LW_TEST = 
"zookeeper.test.4lw.enabled";
    --- End diff --
    
    I really like this property as it saves me tons of work - but I'll see what 
I can do.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to