geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [09/16] incubator-geode git commit: GEODE-835: remove developer name from comments
Date Sat, 18 Jun 2016 21:05:55 GMT
GEODE-835: remove developer name from comments


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/947628a2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/947628a2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/947628a2

Branch: refs/heads/feature/GEODE-1565
Commit: 947628a202f8caa197fd2911257bef0dd754a201
Parents: 43a9918
Author: Kirk Lund <klund@apache.org>
Authored: Fri Jun 17 11:38:35 2016 -0700
Committer: Kirk Lund <klund@apache.org>
Committed: Fri Jun 17 13:19:47 2016 -0700

----------------------------------------------------------------------
 .../internal/cli/parser/jopt/JoptOptionParser.java        | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/947628a2/geode-core/src/main/java/com/gemstone/gemfire/management/internal/cli/parser/jopt/JoptOptionParser.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/com/gemstone/gemfire/management/internal/cli/parser/jopt/JoptOptionParser.java
b/geode-core/src/main/java/com/gemstone/gemfire/management/internal/cli/parser/jopt/JoptOptionParser.java
index bbda3e6..04590ed 100644
--- a/geode-core/src/main/java/com/gemstone/gemfire/management/internal/cli/parser/jopt/JoptOptionParser.java
+++ b/geode-core/src/main/java/com/gemstone/gemfire/management/internal/cli/parser/jopt/JoptOptionParser.java
@@ -115,7 +115,7 @@ public class JoptOptionParser implements GfshOptionParser {
     optionSet.setUserInput(userInput!=null?userInput.trim():"");
     if (userInput != null) {
       TrimmedInput input = PreprocessorUtils.trim(userInput);
-      String[] preProcessedInput = preProcess(new OptionJFormatter().formatCommand(input.getString()));
// TODO: use OptionJFormatter
+      String[] preProcessedInput = preProcess(new OptionJFormatter().formatCommand(input.getString()));
       joptsimple.OptionSet joptOptionSet = null;
       CliCommandOptionException ce = null;
       // int factor = 0;
@@ -123,21 +123,21 @@ public class JoptOptionParser implements GfshOptionParser {
         joptOptionSet = parser.parse(preProcessedInput);
       } catch (OptionException e) {
         ce = processException(e);
-        // TODO:KIRK: joptOptionSet = e.getDetected(); // TODO: removed when geode-joptsimple
was removed
+        // TODO: joptOptionSet = e.getDetected(); // removed when geode-joptsimple was removed
       }
       if (joptOptionSet != null) {
 
         // Make sure there are no miscellaneous, unknown strings that cannot be identified
as
         // either options or arguments.
         if (joptOptionSet.nonOptionArguments().size() > arguments.size()) {
-          String unknownString = (String)joptOptionSet.nonOptionArguments().get(arguments.size());
// TODO: added cast when geode-joptsimple was removed
+          String unknownString = (String)joptOptionSet.nonOptionArguments().get(arguments.size());
// added cast when geode-joptsimple was removed
           // If the first option is un-parseable then it will be returned as "<option>=<value>"
since it's
           // been interpreted as an argument. However, all subsequent options will be returned
as "<option>".
           // This hack splits off the string before the "=" sign if it's the first case.
           if (unknownString.matches("^-*\\w+=.*$")) {
             unknownString = unknownString.substring(0, unknownString.indexOf('='));
           }
-          // TODO:KIRK: ce = processException(OptionException.createUnrecognizedOptionException(unknownString,
joptOptionSet)); // TODO: removed when geode-joptsimple was removed
+          // TODO: ce = processException(OptionException.createUnrecognizedOptionException(unknownString,
joptOptionSet)); // removed when geode-joptsimple was removed
         }
         
         // First process the arguments
@@ -199,7 +199,7 @@ public class JoptOptionParser implements GfshOptionParser {
                   if (arguments.size() > 1 && !(option.getConverter() instanceof
MultipleValueConverter) && option.getValueSeparator() == null) {
                     List<String> optionList = new ArrayList<String>(1);
                     optionList.add(string);
-                    // TODO:KIRK: ce = processException(new MultipleArgumentsForOptionException(optionList,
joptOptionSet)); // TODO: removed when geode-joptsimple was removed
+                    // TODO: ce = processException(new MultipleArgumentsForOptionException(optionList,
joptOptionSet)); // removed when geode-joptsimple was removed
                   } else if ((arguments.size() == 1 && !(option.getConverter() instanceof
MultipleValueConverter)) || option.getValueSeparator() == null) {
                     optionSet.put(option, arguments.get(0).toString().trim());
                   } else {


Mime
View raw message