ChangeSequence did not save/load properly at all.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2427 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2012-01-25 02:04:52 +00:00
parent 893b767c01
commit 794629eee6

View File

@ -70,9 +70,7 @@ public class ChangeSequence implements Change {
public void save(Writer writer, Properties options) throws IOException {
writer.write("count="); writer.write(Integer.toString(_changes.length)); writer.write('\n');
for (Change change : _changes) {
writer.write(change.getClass().getName()); writer.write('\n');
change.save(writer, options);
History.writeOneChange(writer, change, options);
}
writer.write("/ec/\n"); // end of change marker
}