Juan Hernandez has posted comments on this change.
Change subject: sdk: Avoid NPE when receiving null lists
......................................................................
Patch Set 2: Verified+1 Code-Review+2
Verified with the following snippet:
public static void main(String[] args) throws Exception {
Api api = null;
try {
api = new Api(URL, USER, PASSWORD, null, null, null, null,
noHostVerifictaion, null, false);
for (Cluster cluster : api.getClusters().list()) {
System.out.println(cluster);
}
}
finally {
if (api != null) {
api.shutdown();
}
}
}
--
To view, visit http://gerrit.ovirt.org/30115
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I5a844fb0e69330a7b1f3949802f016a27391b113
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Martin Sivák <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: No
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches