From 794629eee69c56f9c84d6d59509455bf5c24a1b7 Mon Sep 17 00:00:00 2001 From: David Huynh Date: Wed, 25 Jan 2012 02:04:52 +0000 Subject: [PATCH] ChangeSequence did not save/load properly at all. git-svn-id: http://google-refine.googlecode.com/svn/trunk@2427 7d457c2a-affb-35e4-300a-418c747d4874 --- main/src/com/google/refine/history/ChangeSequence.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main/src/com/google/refine/history/ChangeSequence.java b/main/src/com/google/refine/history/ChangeSequence.java index 624281127..b5e1d38b0 100644 --- a/main/src/com/google/refine/history/ChangeSequence.java +++ b/main/src/com/google/refine/history/ChangeSequence.java @@ -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 }