提交 f8baa029 编写于 作者: M Matt Bierner

Remove extra null checks

上级 f88e60c5
......@@ -23,18 +23,10 @@ export class DiffEditorModel extends EditorModel {
}
get originalModel(): IEditorModel | null {
if (!this._originalModel) {
return null;
}
return this._originalModel;
}
get modifiedModel(): IEditorModel | null {
if (!this._modifiedModel) {
return null;
}
return this._modifiedModel;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册