Michal Skrivanek has posted comments on this change.

Change subject: core: use String instead of StringBuilder in SysprepHandler 
(#873742)
......................................................................


Patch Set 1: (1 inline comment)

....................................................
File 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/SysprepHandler.java
Line 63:         passwordPerDomain = Config.<DomainsPasswordMap> 
GetValue(ConfigValues.AdUserPassword);
Line 64:     }
Line 65: 
Line 66:     public static String GetSysPrep(VM vm, String hostName, String 
domain, SysPrepParams sysPrepParams) {
Line 67:         String sysPrepContent = "";
probably true, though....do you really find it easier and more readable?:-)
Line 68:         switch (vm.getStaticData().getos()) {
Line 69:         case WindowsXP:
Line 70:             sysPrepContent = LoadFile(Config.<String> 
GetValue(ConfigValues.SysPrepXPPath));
Line 71:             sysPrepContent = replace(sysPrepContent, "$ProductKey$", 
Config.<String> GetValue(ConfigValues.ProductKey));


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ie447c30759d19e4d42a722deb550a6233becb490
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Michal Skrivanek <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: Tomas Jelinek <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to