JBTM-1430 reverted the deprecated note on public API
https://issues.jboss.org/browse/JBTM-1431
JBTM-1031. == replaced with equals() in objects comparison where appropriate