throw new FileNotFoundException(current.getAbsolutePath());
}
FileInputStream in = new FileInputStream(backup.getAbsolutePath());
XPSFileOutputStream out = new XPSFileOutputStream(current.getAbsolutePath());
byte[] buffer = new byte[512];
int length;
while ((length = in.read(buffer)) != -1) {
out.write(buffer, 0, length);
}
log.info("Undo: copy " + backup.getAbsolutePath() + " " + current.getAbsolutePath());
rcml.deleteFirstCheckIn();
out.close();
}