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 <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Martin Peřina <[email protected]>
Gerrit-Reviewer: Tomáš Došek <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to