Yair Zaslavsky has submitted this change and it was merged.
Change subject: engine: Fix for RHBZ#968958 - Refactor unnecessary while loop
......................................................................
engine: Fix for RHBZ#968958 - Refactor unnecessary while loop
Fixing unnecessary while loop in JndiAction class.
Under any circumstances the while loop runs only once,
hence it's not necessary and simple "if" statement can do the same.
Change-Id: I938726d631ac4ccb91cc68791e8e349dd43895ea
Bug-Url:
https://bugzilla.redhat.com/968958
Signed-off-by: Tomas Dosek <tdosek(a)redhat.com>
---
M
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/kerberos/JndiAction.java
1 file changed, 7 insertions(+), 10 deletions(-)
Approvals:
Yair Zaslavsky: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/15217
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I938726d631ac4ccb91cc68791e8e349dd43895ea
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomáš Došek <tdosek(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina(a)redhat.com>
Gerrit-Reviewer: Tomáš Došek <tdosek(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server