Changeset 98:5a764c625290 in AnnotationManagerN4J for src


Ignore:
Timestamp:
Feb 11, 2015, 6:04:14 PM (9 years ago)
Author:
casties
Branch:
default
Message:

oops, forgot to store updated timestamp in db.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/de/mpiwg/itgroup/annotations/neo4j/AnnotationStore.java

    r81 r98  
    560560            }
    561561            /*
    562              * get creation date
     562             * get creation and update date
    563563             */
    564564            annot.setCreated((String) annotNode.getProperty("created", null));
     565            annot.setUpdated((String) annotNode.getProperty("updated", null));
    565566            /*
    566567             * get permissions
     
    758759
    759760            /*
    760              * The creation date of this annotation.
     761             * The creation and update date of this annotation.
    761762             */
    762763            String created = annot.getCreated();
    763764            if (created != null) {
    764765                annotNode.setProperty("created", created);
     766            }
     767            String updated = annot.getUpdated();
     768            if (updated != null) {
     769                annotNode.setProperty("updated", updated);
    765770            }
    766771
Note: See TracChangeset for help on using the changeset viewer.