Fix Eclipse warnings