KentBeck/junit — pull request #414 by songlh (2012-04-08 22:33:46+00:00)
Title: handling null in error messages

1. Style issues in the "failSame" and "failNotSame" methods: in each method three code lines can be replaced with one line. (The proposed change doesn't address an inconsistency in appending space to empty messages in "failSame" and "failNotSame" but not in "format".)

2. A small performance issue in "assertNull": there's no need to append strings when the object is null. (We found several tests to run slow because of unnecessary string appending.)