Remove a warning in eclipse