intellij-plugin/educational-core/src/com/jetbrains/edu/learning/framework/impl/UserChanges.kt [236:246]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fun readChange(input: DataInput): Change { val ordinal = input.readInt() return when (ordinal) { 0 -> AddFile(input) 1 -> RemoveFile(input) 2 -> ChangeFile(input) 3 -> PropagateLearnerCreatedTaskFile(input) 4 -> RemoveTaskFile(input) else -> error("Unexpected change type: $ordinal") } } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - intellij-plugin/educational-core/src/com/jetbrains/edu/coursecreator/framework/CCUserChanges.kt [262:272]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fun readChange(input: DataInput): CCChange { val ordinal = input.readInt() return when (ordinal) { 0 -> AddFile(input) 1 -> RemoveFile(input) 2 -> ChangeFile(input) 3 -> PropagateLearnerCreatedTaskFile(input) 4 -> RemoveTaskFile(input) else -> error("Unexpected change type: $ordinal") } } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -