From f3e42a3b2d6265dd445d95fcb31b25baf199e518 Mon Sep 17 00:00:00 2001 From: Ekaterina Tuzova Date: Mon, 21 Sep 2015 14:20:19 +0300 Subject: [PATCH] fixed equals for taskfile --- .../src/com/jetbrains/edu/courseFormat/TaskFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/educational/src/com/jetbrains/edu/courseFormat/TaskFile.java b/python/educational/src/com/jetbrains/edu/courseFormat/TaskFile.java index 90368be9b9ba..f22555d6f2e8 100644 --- a/python/educational/src/com/jetbrains/edu/courseFormat/TaskFile.java +++ b/python/educational/src/com/jetbrains/edu/courseFormat/TaskFile.java @@ -164,7 +164,7 @@ public class TaskFile { TaskFile that = (TaskFile)o; if (getIndex() != that.getIndex()) return false; - if (name != that.name) return false; + if (name.equals(that.name)) return false; final List answerPlaceholders = getAnswerPlaceholders(); final List thatAnswerPlaceholders = that.getAnswerPlaceholders();