fix Eclipse warnings (<>, unused)