commit | c813ead5253ec684dd793f1c64a0c8d4f441ad37 | [log] [tgz] |
---|---|---|
author | Justin Paupore <jpaupore@google.com> | Fri Dec 28 20:18:25 2018 -0800 |
committer | Justin Paupore <jpaupore@google.com> | Tue Jan 15 18:57:35 2019 -0800 |
tree | b3d8a0be9eabb925898d66943d685303d07b4368 | |
parent | a4899b89516077e82f1073d0002a52a75c496320 [diff] |
Make ConnectionParams an immutable object. Make ConnectionParams immutable and hashable, which makes it usable as a key in a Map. Eliminate the few usages of the setters on ConnectionParams by creating a new object whenever changes are necessary. Test: atest CarServiceTest CarServiceUnitTest Bug: 116226107 Change-Id: I945c79acefe8f53d5073fc94ea5a5e8bf8c06686