fixed exam update task : has changed test
This commit is contained in:
parent
936c80f226
commit
c5ff3b0369
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ class ExamUpdateHandler {
|
|||
}
|
||||
|
||||
private boolean hasChanges(final Exam exam, final QuizData quizData) {
|
||||
if (Utils.isEqualsWithEmptyCheck(exam.name, quizData.name) ||
|
||||
if (!Utils.isEqualsWithEmptyCheck(exam.name, quizData.name) ||
|
||||
!Objects.equals(exam.startTime, quizData.startTime) ||
|
||||
!Objects.equals(exam.endTime, quizData.endTime) ||
|
||||
!Utils.isEqualsWithEmptyCheck(exam.getDescription(), quizData.description) ||
|
||||
|
|
Loading…
Reference in a new issue