Move inner methods in ErrorsInSitu to the beginning of the method for shorten scopes of variables
Move inner methods in ErrorsInSitu to the beginning of the method for shorten scopes of variables

recruit-tech/redpen,recruit-tech/redpen,redpen-cc/redpen,redpen-cc/redpen,redpen-cc/redpen,redpen-cc/redpen,recruit-tech/redpen,redpen-cc/redpen,recruit-tech/redpen