Fix a couple of eclipse warnings