Skip to content

Commit

Permalink
Actually use the isVersionable flag for datastreams
Browse files Browse the repository at this point in the history
  • Loading branch information
claussni committed Jul 28, 2015
1 parent 3d8b31d commit 6519b8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public Element toFOXML(final Namespace FOXML) {
tDatastream.setAttribute("ID", this.getId());
tDatastream.setAttribute("STATE", this.getState().toString());
tDatastream.setAttribute("CONTROL_GROUP", this.getControlGroup().toString());
tDatastream.setAttribute("VERSIONABLE", "true");
tDatastream.setAttribute("VERSIONABLE", String.valueOf(isVersionable()));

Element tDatastreamVersion = new Element("datastreamVersion", FOXML);
tDatastream.addContent(tDatastreamVersion);
Expand Down

0 comments on commit 6519b8a

Please sign in to comment.