commit | 636b2ab8f61b803f4b3c7af282d963c276d4d4e8 | [log] [tgz] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Wed Apr 16 10:33:28 2014 -0700 |
committer | Dave Borowitz <dborowitz@google.com> | Fri Apr 18 09:25:23 2014 -0700 |
tree | c2f5e05974b4c7668ae9a1d78a226538d6b60334 | |
parent | e495425d4dc626e4efbfb205d83ea163482ee82e [diff] |
BlameCacheImpl: initialize weigher in newBuilder() The weigher implementation should not change. Since we can now merge a partially-initialized builder with the options from a config, we can push the weigher setup into newBuilder(). (The loader still may only be initialized from the constructor since it is passed to build().) Change-Id: I9c15e4876dd8fcd517cae513099aa239dc82112c