.size()]);
}
private void saveChanges(IvyClasspathContainer container, File permanentSaveTarget,
File temporaryChanges) throws IOException {
IvyClasspathContainerConfiguration conf = container.getConf();
IFile virtualIvyFile = conf.getJavaProject().getProject().getFile(conf.getIvyXmlPath());
IStatus writable = virtualIvyFile.getWorkspace().validateEdit(new IFile[] {virtualIvyFile},
IWorkspace.VALIDATE_PROMPT);
if (writable.isOK()) {
FileWriter writer = new FileWriter(permanentSaveTarget, false);
BufferedReader reader = new BufferedReader(new FileReader(temporaryChanges));