Fixed Eclipse warnings