Replace command.applyTo() with inlined builder operations

These are much easier to understand.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=137446273
This commit is contained in:
cgoldfeder 2016-10-27 15:03:48 -07:00 committed by Ben McIlwain
parent b84d7f1fb5
commit 1dbc5f6bb0
28 changed files with 489 additions and 426 deletions

View file

@ -5,11 +5,11 @@
xmlns:host="urn:ietf:params:xml:ns:host-1.0">
<host:name>%OLD-HOSTNAME%</host:name>
<host:add>
%ADD-HOSTADDRS%
%ADD-HOSTADDRSORSTATUS%
<host:status s="clientUpdateProhibited"/>
</host:add>
<host:rem>
%REM-HOSTADDRS%
%REM-HOSTADDRSORSTATUS%
</host:rem>
<host:chg>
<host:name>%NEW-HOSTNAME%</host:name>