KentBeck/junit — pull request #415 by adriannistoruiuc (2012-04-08 23:13:11+00:00)
Title: Addressing some style and performance issues with null 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.)