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:
parent
893b767c01
commit
794629eee6
@ -70,9 +70,7 @@ public class ChangeSequence implements Change {
|
|||||||
public void save(Writer writer, Properties options) throws IOException {
|
public void save(Writer writer, Properties options) throws IOException {
|
||||||
writer.write("count="); writer.write(Integer.toString(_changes.length)); writer.write('\n');
|
writer.write("count="); writer.write(Integer.toString(_changes.length)); writer.write('\n');
|
||||||
for (Change change : _changes) {
|
for (Change change : _changes) {
|
||||||
writer.write(change.getClass().getName()); writer.write('\n');
|
History.writeOneChange(writer, change, options);
|
||||||
|
|
||||||
change.save(writer, options);
|
|
||||||
}
|
}
|
||||||
writer.write("/ec/\n"); // end of change marker
|
writer.write("/ec/\n"); // end of change marker
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user