Change in ovirt-engine[master]: restapi: Copying array to collection

juan.hernandez at redhat.com juan.hernandez at redhat.com
Fri Apr 29 07:38:38 UTC 2016


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Copying array to collection
......................................................................


restapi: Copying array to collection

Use addAll(Arrays.asList(GUIDs) instead of manually looping over the
GUIDs. If nothing else, it's easier to read, and it may have a slight
performance benefit.

Change-Id: Ia980bcbdb30d45aa577f559710883e45f8496c7b
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendStorageDomainDiskResourceTest.java
1 file changed, 2 insertions(+), 3 deletions(-)

Approvals:
  Juan Hernandez: Looks good to me, approved; Passed CI tests
  Allon Mureinik: Verified



-- 
To view, visit https://gerrit.ovirt.org/56792
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia980bcbdb30d45aa577f559710883e45f8496c7b
Gerrit-PatchSet: 3
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: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list