Alon Bar-Lev has uploaded a new change for review.

Change subject: java: accept null value at cli get
......................................................................

java: accept null value at cli get

Change-Id: Icb5741d9fb78912971d2a06d68826d59942ae280
Signed-off-by: Alon Bar-Lev <alo...@redhat.com>
---
M src/java/MachineDialogParser.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/otopi refs/changes/78/37578/1

diff --git a/src/java/MachineDialogParser.java 
b/src/java/MachineDialogParser.java
index a477f9a..7443272 100644
--- a/src/java/MachineDialogParser.java
+++ b/src/java/MachineDialogParser.java
@@ -237,7 +237,7 @@
                        String.format(
                                "env-get %1$s=%2$s:%3$s",
                                name,
-                               value.getClass().getName(),
+                               value == null ? "null" : 
value.getClass().getName(),
                                value
                        )
                );


-- 
To view, visit http://gerrit.ovirt.org/37578
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icb5741d9fb78912971d2a06d68826d59942ae280
Gerrit-PatchSet: 1
Gerrit-Project: otopi
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to