Alon Bar-Lev has uploaded a new change for review. Change subject: java: do not fail set environment with null ......................................................................
java: do not fail set environment with null Change-Id: Icda678d448bcf4d241782e08b2e6c067da3b4790 Signed-off-by: Alon Bar-Lev <[email protected]> --- M ChangeLog M src/java/MachineDialogParser.java 2 files changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/otopi refs/changes/24/13824/1 diff --git a/ChangeLog b/ChangeLog index 93ae6d1..e397c18 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ * core: support more complex sequence relationships. * dialog: fix handling of empty string notes. * dialog: support tuples for note like list. + * java: do not fail to set null environment. 2013-03-31 - Version 1.0.1 diff --git a/src/java/MachineDialogParser.java b/src/java/MachineDialogParser.java index 225e4d4..a477f9a 100644 --- a/src/java/MachineDialogParser.java +++ b/src/java/MachineDialogParser.java @@ -255,7 +255,7 @@ String.format( "env-query %1$s=%2$s:%3$s", name, - value.getClass().getName(), + value == null ? "null" : value.getClass().getName(), value ) ); -- To view, visit http://gerrit.ovirt.org/13824 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Icda678d448bcf4d241782e08b2e6c067da3b4790 Gerrit-PatchSet: 1 Gerrit-Project: otopi Gerrit-Branch: otopi-1.0 Gerrit-Owner: Alon Bar-Lev <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
