Merge branch 'develop' of https://github.com/WebGoat/WebGoat into develop

This commit is contained in:
mayhew64
2017-01-28 11:05:16 -05:00
33 changed files with 416 additions and 32 deletions

View File

@ -82,7 +82,7 @@ public class Course {
* @return a {@link java.util.List} object.
*/
public List<AbstractLesson> getLessons(Category category) {
return this.lessons.stream().filter(l -> l.getCategory() == category).collect(toList());
return this.lessons.stream().filter(l -> l.getCategory() == category).sorted().collect(toList());
}
public void setLessons(List<AbstractLesson> lessons) {