You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by bo...@apache.org on 2016/02/24 17:43:23 UTC
[3/4] storm git commit: STORM-1572: Minor rework
STORM-1572: Minor rework
Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/9e65c114
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/9e65c114
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/9e65c114
Branch: refs/heads/master
Commit: 9e65c1141fcd4141da5e46e36acffea0fc29ace4
Parents: 1a83267
Author: Robert (Bobby) Evans <ev...@yahoo-inc.com>
Authored: Wed Feb 24 10:41:40 2016 -0600
Committer: Robert (Bobby) Evans <ev...@yahoo-inc.com>
Committed: Wed Feb 24 10:41:40 2016 -0600
----------------------------------------------------------------------
storm-core/src/jvm/org/apache/storm/command/CLI.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/storm/blob/9e65c114/storm-core/src/jvm/org/apache/storm/command/CLI.java
----------------------------------------------------------------------
diff --git a/storm-core/src/jvm/org/apache/storm/command/CLI.java b/storm-core/src/jvm/org/apache/storm/command/CLI.java
index 2bad836..ff894c2 100644
--- a/storm-core/src/jvm/org/apache/storm/command/CLI.java
+++ b/storm-core/src/jvm/org/apache/storm/command/CLI.java
@@ -242,7 +242,7 @@ public class CLI {
Object current = null;
String[] strings = cl.getOptionValues(opt.shortName);
if (strings != null) {
- for (String val : cl.getOptionValues(opt.shortName)) {
+ for (String val : strings) {
current = opt.process(current, val);
}
}