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...

No comments:

Post a Comment