accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [accumulo] ctubbsii commented on a change in pull request #1330: Fix #1090 Consolidate/Simplfy ServerOpts
Date Thu, 05 Sep 2019 21:22:21 GMT
ctubbsii commented on a change in pull request #1330: Fix #1090 Consolidate/Simplfy ServerOpts
URL: https://github.com/apache/accumulo/pull/1330#discussion_r321445168
 
 

 ##########
 File path: core/src/main/java/org/apache/accumulo/core/cli/ConfigOpts.java
 ##########
 @@ -96,6 +117,19 @@ public synchronized SiteConfiguration getSiteConfiguration() {
   @Override
   public void parseArgs(String programName, String[] args, Object... others) {
     super.parseArgs(programName, args, others);
+    if (legacyOpts != null || legacyOptsBoolean) {
+      var errmsg = new StringBuilder();
+      for (String option : args) {
+        if (LEGACY_OPTION_MSG.keySet().contains(option)) {
 
 Review comment:
   There might be a `containsKey()` method for this.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message