Skip to content

Commit

Permalink
Update ScoreMatchPredicate.java
Browse files Browse the repository at this point in the history
  • Loading branch information
siqirua authored Nov 2, 2023
1 parent 2e71e54 commit db8005c
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,13 @@ public ScoreMatchPredicate(Predicate<Student> studentMatchPredicate) {
* @param gcKeywords the gc keywords
*/
public ScoreMatchPredicate(List<String> gcKeywords) {
List<String> empty = new ArrayList<>();
this.gcNames = new ArrayList<>();
this.gcNames = gcKeywords;
this.idKeywords = new ArrayList<>();
this.nameKeywords = new ArrayList<>();
this.tagKeywords = new ArrayList<>();
this.tutorialGroupKeywords = new ArrayList<>();
this.studentMatchPredicate = new StudentMatchPredicate(empty, empty, empty, empty, empty);
this.tagKeywords = new ArrayList<>();
this.gcNames = gcKeywords;
this.commentKeywords = new ArrayList<>();
this.studentMatchPredicate = new StudentMatchPredicate();
this.gcMatchPredicate = new GcMatchPredicate();
}

Check warning on line 78 in src/main/java/seedu/address/model/studentscore/ScoreMatchPredicate.java

View check run for this annotation

Codecov / codecov/patch

src/main/java/seedu/address/model/studentscore/ScoreMatchPredicate.java#L69-L78

Added lines #L69 - L78 were not covered by tests

Expand Down

0 comments on commit db8005c

Please sign in to comment.