Merge "Make method private to fix checkstyle error."