commit | d71f37608660df2eb1eb372f09edaca0252cbbb1 | [log] [download] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Fri Apr 18 11:05:20 2014 -0700 |
committer | Dave Borowitz <dborowitz@google.com> | Fri Apr 18 11:07:35 2014 -0700 |
tree | 1ade731bb84655dbc14c1a1fe2a5f612799405fd | |
parent | ddd96b887553a593330d0b72714facaa3dc6529a [diff] |
Rename *Cache.newBuilder() methods to defaultBuilder() newBuilder() made it sound like it was safe to go around calling arbitrary methods on the builder, whereas in reality the state checking in CacheBuilder made this risky. The new name should be less encouraging. Since we still want to apply the weigher to the BlameCache builder, extract a separate static method for this. Change-Id: Ic99d337bbad16a4137a44d00685d97b7baad5d99