intellij-plugin/educational-core/src/com/jetbrains/edu/learning/framework/impl/UserChanges.kt [223:233]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fun writeChange(change: Change, out: DataOutput) { val ordinal = when (change) { is AddFile -> 0 is RemoveFile -> 1 is ChangeFile -> 2 is PropagateLearnerCreatedTaskFile -> 3 is RemoveTaskFile -> 4 } out.writeInt(ordinal) change.write(out) } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - intellij-plugin/educational-core/src/com/jetbrains/edu/coursecreator/framework/CCUserChanges.kt [249:259]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fun writeChange(change: CCChange, out: DataOutput) { val ordinal = when (change) { is AddFile -> 0 is RemoveFile -> 1 is ChangeFile -> 2 is PropagateLearnerCreatedTaskFile -> 3 is RemoveTaskFile -> 4 } out.writeInt(ordinal) change.write(out) } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -