} else if (preferCache) {
<BUG>response = oauthRestApi.getCourseOutline(courseId, username, requested_fields, student_view_data, block_counts).execute().body();
</BUG>
} else {
<BUG>response = oauthRestApi.getCourseOutlineNoCache(courseId, username, requested_fields, student_view_data, block_counts).execute().body();
</BUG>
}
CourseStructureV1Model model = new CourseStructureJsonHandler().processInput(response);
return (CourseComponent) CourseManager.normalizeCourseStructure(model, courseId);
}

} else if (preferCache) {
response = executeStrict(oauthRestApi.getCourseOutline(courseId, username, requested_fields, student_view_data, block_counts));
} else {
response = executeStrict(oauthRestApi.getCourseOutlineNoCache(courseId, username, requested_fields, student_view_data, block_counts));
}
CourseStructureV1Model model = new CourseStructureJsonHandler().processInput(response);
return (CourseComponent) CourseManager.normalizeCourseStructure(model, courseId);
}
