Insufficiently Random

The lonely musings of a loosely connected software developer.

Monday, January 4, 2010

How class names can go horribly wrong

Somehow I found myself writing this in a JGit test case:

assertTrue("isa TransportHttp", t instanceof TransportHttp);
assertTrue("isa HttpTransport", t instanceof HttpTransport);

What is wrong with me...


Post a Comment