Fixed warnings in Eclipse IDE