code cleanup: remove JDT warnings