Change in ovirt-engine[master]: core: GuidUtils initial StringBuilder capacity

amureini at redhat.com amureini at redhat.com
Thu Jul 4 17:30:05 UTC 2013


Allon Mureinik has submitted this change and it was merged.

Change subject: core: GuidUtils initial StringBuilder capacity
......................................................................


core: GuidUtils initial StringBuilder capacity

The StringBuilder used in writeGUIDPartToStream is known to contain 2
characters.
This patch initializes it in the correct size instead of wasting the
additional 14 bytes done by the default initialization.

Change-Id: I301b6ebce95a069968af99fed0b65ab189d4b1a2
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/GuidUtils.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Allon Mureinik: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I301b6ebce95a069968af99fed0b65ab189d4b1a2
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list