Change in ovirt-engine[master]: coverity: Fix INVALIDATE_ITERATOR warning in SessionDataCont...

yzaslavs at redhat.com yzaslavs at redhat.com
Thu May 1 10:23:08 UTC 2014


Yair Zaslavsky has submitted this change and it was merged.

Change subject: coverity: Fix INVALIDATE_ITERATOR warning in SessionDataContainer
......................................................................


coverity: Fix INVALIDATE_ITERATOR warning in SessionDataContainer

Altering a collection while iterating over it with a for loop will most
likely cause ConcurrentModificationException, using an iterator instead

Change-Id: I223c41e0ad0c091532e598f281f0679306f1164c
Signed-off-by: Tal Nisan <tnisan at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/session/SessionDataContainer.java
1 file changed, 5 insertions(+), 6 deletions(-)

Approvals:
  Allon Mureinik: Looks good to me, but someone else must approve
  Yair Zaslavsky: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/27275
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I223c41e0ad0c091532e598f281f0679306f1164c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list