Also, I came across the equality test below which really should be changed because
testing for object reference equality is not strong enough, it needs to be testing for
object identity equality:

This is not necessary since Thread does not implement it's own equals method. '==' equality is sufficient.