Moti Asayag has posted comments on this change. Change subject: gluster: Make set option a step of create volume ......................................................................
Patch Set 2: (1 inline comment) .................................................... File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/CreateGlusterVolumeCommand.java Line 52: } Line 53: } Line 54: Line 55: @Override Line 56: public Map<String, String> getJobMessageProperties() { there is a potential NPE here since jobProperties might not be initialized. I'd suggest changing it to: @Override public Map<String, String> getJobMessageProperties() { if (jobProperties == null) { jobProperties = super.getJobMessageProperties(); if (volume != null) { jobProperties.put(GlusterConstants.VOLUME, volume.getName()); } } return jobProperties; } Line 57: if (volume != null) { Line 58: if (jobProperties == null) { Line 59: jobProperties = super.getJobMessageProperties(); Line 60: } -- To view, visit http://gerrit.ovirt.org/10905 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ie0f22e9862584f1a616fcc01e8a80b7d5a5ffc78 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Shireesh Anjal <san...@redhat.com> Gerrit-Reviewer: Kanagaraj M <kmayi...@redhat.com> Gerrit-Reviewer: Moti Asayag <masa...@redhat.com> Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com> Gerrit-Reviewer: Shireesh Anjal <san...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches