commit | f6118b3d170a59d86a20c1e21f5878f0200dbd83 | [log] [tgz] |
---|---|---|
author | Hui Yu <huiyu@google.com> | Thu Dec 13 15:20:43 2018 -0800 |
committer | Hui Yu <huiyu@google.com> | Wed Feb 20 18:10:29 2019 -0800 |
tree | 9ef71f2edd01b2541888dce11e9025d5864a39ee | |
parent | ff5d286d092ca60945869120583c429348271e3c [diff] |
Remove extra null-check on IntervalStats.events. Now IntervalStats.events field is initialized at construction of IntervalStats object, we can remove the extra null-check on IntervalStats.events, make code more clean and readable. Test: atest UsageStatsDatabaseTest.java Change-Id: I2580509f41593c1fdf380ba56ebc7a5b6c6f0c5f