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 <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Laszlo Hornyak <[email protected]>
Gerrit-Reviewer: Tal Nisan <[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