addressbook-level4 icon indicating copy to clipboard operation
addressbook-level4 copied to clipboard

Adopt a uniform toString() format

Open pyokagan opened this issue 8 years ago • 0 comments

We currently have all kinds of toString() string representations in our code base. Making them uniform will help us easily identify object string representations and their containing data in places like logs, JUnit test failure messages etc.

Note, however, that some user-facing messages depend on the toString() representations. These should be migrated to use formatting methods that are specialized for user-facing messages instead.

Maybe use Guava's MoreObjects.toStringHelper()

pyokagan avatar Dec 20 '16 06:12 pyokagan