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();