public void restoreOriginalContent() { myTarget.restoreOriginalContent(myProject); }
@Override public byte[] getBytes() throws IOException { return myTarget.getBytes(); }
@Override @Nullable public FileType getContentType() { return myTarget.getContentType(); }
@Override public VirtualFile getFile() { return myTarget.getFile(); }
public void applyChanges() { myTarget.applyText(myWorkingDocument.getText(), myProject); }
public MergeContent(@NotNull MergeVersion target, Project project) { myTarget = target; myProject = project; myWorkingDocument = myTarget.createWorkingDocument(project); LOG.assertTrue(myWorkingDocument.isWritable()); }