remove obsolete Java hints