Insufficiently Random

The lonely musings of a loosely connected software developer.

January 4, 2010

How class names can go horribly wrong

Filed under: Random Musings — spearce @ 8:28 pm

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…

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Insufficiently Random © 2002-2010