commit | 75a7832c88de943a49806437a9921ad1577fc26d | [log] [download] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Sun Mar 16 12:13:08 2014 -0700 |
committer | Dave Borowitz <dborowitz@google.com> | Tue Mar 18 11:07:41 2014 -0700 |
tree | 586fb8141f808406e12fdee58c59aa6bf4128384 | |
parent | db9c41d4db5fe4aa3a030ab154bb5421767350b2 [diff] |
Use an enum for recording which commit fields to compute Hard-coding the strings always felt ugly, and this is not much more code. Also, we want to use this data structure for JSON data as well, so the key names should be decoupled from the idea of keys in a Soy data map. Change-Id: Ibe70f1f370783c11c6021531ccae9371f3b899ec