Fix for <> not being allowed in java 1.6