|
@@ -181,17 +181,14 @@ public class LessonCoursewareController extends BaseController {
|
|
|
|
|
|
return CollectionUtils.isNotEmpty(childMaterialList);
|
|
|
}
|
|
|
- return false;
|
|
|
- })
|
|
|
- .collect(Collectors.toList());
|
|
|
+ return false;
|
|
|
+ }).collect(Collectors.toList());
|
|
|
|
|
|
|
|
|
knowledgePointSmall.setChildren(validChildren);
|
|
|
|
|
|
|
|
|
- if (!validChildren.isEmpty()) {
|
|
|
- return true;
|
|
|
- }
|
|
|
+ return !validChildren.isEmpty();
|
|
|
}
|
|
|
|
|
|
|