Clear metadata when reading indent

pull/14/head
Sam Bosley 12 years ago
parent b5ad7136bf
commit ea1b213385

@ -89,6 +89,7 @@ public class SubtasksMetadataMigration {
Metadata item = new Metadata();
Node root = new Node(-1, null, -1);
for (; !cursor.isAfterLast(); cursor.moveToNext()) {
item.clear();
item.readFromCursor(cursor);
if (!item.getValue(SubtasksMetadata.TAG).equals(tag))
break;

Loading…
Cancel
Save