commit | d1624692bf08970f4a4efe31d5c7466733f96944 | [log] [tgz] |
---|---|---|
author | Shawn Pearce <sop@google.com> | Wed May 28 18:07:32 2014 -0700 |
committer | Shawn Pearce <sop@google.com> | Wed May 28 18:07:32 2014 -0700 |
tree | 901a1e3484b6c312d7b178815b3a0482d9a09cc7 | |
parent | afc949a5d3a68719a22d20d43616e3788af9e354 [diff] |
Mark ApprovalCopier, ApprovalsUtil and LabelNormalizer as singleton These have no per-request state and are held by several REST API views that are themselves singletons. Instead of making one copy per REST view, make these singletons for the server. Change-Id: I2f343d29c4bed8a862b3794323916ca46b8b1f99