Alon Bar-Lev has posted comments on this change.

Change subject: extensions test tool: logger
......................................................................


Patch Set 4:

(1 comment)

https://gerrit.ovirt.org/#/c/37886/4/backend/manager/modules/uutils/src/main/java/org/ovirt/engine/core/uutils/cli/ParametersParser.java
File 
backend/manager/modules/uutils/src/main/java/org/ovirt/engine/core/uutils/cli/ParametersParser.java:

Line 110:             if(arg.startsWith(LONG_PREFIX)) {
Line 111:                 String[] _arg = parseArgument(arg.substring(2));
Line 112:                 ParserArgument parserArgument = 
arguments.get(_arg[0]);
Line 113:                 if(parserArgument == null) {
Line 114:                     others.addLast(arg);
> No, because if you parse core, the rest of args will be stored in __other__
I do not follow, this class should not care about the fact that we run it twice.
Line 115:                     continue;
Line 116:                 }
Line 117: 
Line 118:                 if(parserArgument.getDefaultValue() != null && 
_arg[1] == null) {


-- 
To view, visit https://gerrit.ovirt.org/37886
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ie06113c5d56a49e58d557c851f9ff00b9a9ca409
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ondřej Macháček <machacek.on...@gmail.com>
Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com>
Gerrit-Reviewer: Ondra Machacek <omach...@redhat.com>
Gerrit-Reviewer: Ondřej Macháček <machacek.on...@gmail.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to