Change in ovirt-engine[master]: core: Add isEmpty Check to MacPoolManager
masayag at redhat.com
masayag at redhat.com
Sun Feb 10 08:39:14 UTC 2013
Moti Asayag has submitted this change and it was merged.
Change subject: core: Add isEmpty Check to MacPoolManager
......................................................................
core: Add isEmpty Check to MacPoolManager
This patch adds an isEmpty() check to the
freeMacs method, in the MacPoolManager,
to avoid entering a synchronized block when
unnecessary.
Change-Id: Id34bae38c0a05e1e148267950ca1ca464b36daea
Bug-Url: https://bugzilla.redhat.com/903572
Signed-off-by: Muli Salem <msalem at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/MacPoolManager.java
1 file changed, 12 insertions(+), 10 deletions(-)
Approvals:
Moti Asayag: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/11871
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id34bae38c0a05e1e148267950ca1ca464b36daea
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Muli Salem <msalem at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
More information about the Engine-commits
mailing list