Java Missing Return Statement