commit | 24183b43456f4aa01aea8ca77273ad915dfb875e | [log] [tgz] |
---|---|---|
author | Shawn Pearce <sop@google.com> | Fri Aug 01 15:19:24 2014 -0700 |
committer | Shawn Pearce <sop@google.com> | Fri Aug 01 15:19:24 2014 -0700 |
tree | 5cd9955813e0ddf285b3f7d2aad1e9d37b2e8d07 | |
parent | 7e6531c3e1669c587dec8060010acb8c5d86db60 [diff] |
Cleanup TimeUtil.roundToSecond method Timestamp is implied by the argument type, and the fact this is in a TimeUtil class as a static method. The entire method can be one line, the local variable provided no value to any reader. Style rules require spaces around operators such as '/'. Change-Id: Ie312889502b86a82b2326d0f3f3fe1b0d43f4f55