Not worth changing, but -- I've gotten burned sometimes by building a string representation in order to make something comparable.  Building strings is somewhat expensive, so it's more efficient to just write real comparison logic (which Eclipse can automate for you, btw, using its source code generation capability).  In this case it doesn't matter, because there aren't a ton of versions floating around.