# HG changeset patch # User casties # Date 1423677854 -3600 # Node ID 5a764c625290412d9289abf0d617469184a32821 # Parent 434264e1839a4ad9bbe79aa3ad3e917f353f8bbd oops, forgot to store updated timestamp in db. diff -r 434264e1839a -r 5a764c625290 src/main/java/de/mpiwg/itgroup/annotations/neo4j/AnnotationStore.java --- a/src/main/java/de/mpiwg/itgroup/annotations/neo4j/AnnotationStore.java Wed Feb 11 18:14:00 2015 +0100 +++ b/src/main/java/de/mpiwg/itgroup/annotations/neo4j/AnnotationStore.java Wed Feb 11 19:04:14 2015 +0100 @@ -559,9 +559,10 @@ logger.warning("annotation " + annotNode + " has no creator node!"); } /* - * get creation date + * get creation and update date */ annot.setCreated((String) annotNode.getProperty("created", null)); + annot.setUpdated((String) annotNode.getProperty("updated", null)); /* * get permissions */ @@ -757,12 +758,16 @@ } /* - * The creation date of this annotation. + * The creation and update date of this annotation. */ String created = annot.getCreated(); if (created != null) { annotNode.setProperty("created", created); } + String updated = annot.getUpdated(); + if (updated != null) { + annotNode.setProperty("updated", updated); + } /* * Permissions for this annotation.