Eli Mesika has posted comments on this change.

Change subject: core: Enable balloon by default - Patch 1 of 2
......................................................................


Patch Set 17:

(1 comment)

http://gerrit.ovirt.org/#/c/22055/17/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/OsRepositoryImpl.java
File 
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/OsRepositoryImpl.java:

Line 351:         Map<Integer, Map<Version, Boolean>> balloonSupportMap = new 
HashMap<Integer, Map<Version, Boolean>>();
Line 352:         Set<Version> versionsWithNull = new 
HashSet<Version>(Version.ALL);
Line 353:         versionsWithNull.add(null);
Line 354: 
Line 355:         for (Integer osId : getOsIds()) {
Please set getOsIds() to a variable so we want call it on each loop iteration
Line 356:             balloonSupportMap.put(osId, new HashMap<Version, 
Boolean>());
Line 357: 
Line 358:             for (Version ver : versionsWithNull) {
Line 359:                 balloonSupportMap.get(osId).put(ver, 
isBalloonEnabled(osId, ver));


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I1b048b3d54e5e1732f8a13de8c9d4c1df4b6d8e5
Gerrit-PatchSet: 17
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gustavo Frederico Temple Pedrosa <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Doron Fediuck <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Gustavo Frederico Temple Pedrosa 
<[email protected]>
Gerrit-Reviewer: Itamar Heim <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Laszlo Hornyak <[email protected]>
Gerrit-Reviewer: Leonardo Bianconi <[email protected]>
Gerrit-Reviewer: Martin Sivák <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Roy Golan <[email protected]>
Gerrit-Reviewer: Vitor de Lima <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to