dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #31406
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15984: minor, turn of xml wrapping for events
------------------------------------------------------------
revno: 15984
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2014-07-07 09:03:44 +0700
message:
minor, turn of xml wrapping for events
modified:
dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/Events.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/Events.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/Events.java 2014-07-07 01:56:39 +0000
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/Events.java 2014-07-07 02:03:44 +0000
@@ -85,7 +85,7 @@
}
@JsonProperty
- @JacksonXmlElementWrapper( localName = "events", namespace = DxfNamespaces.DXF_2_0 )
+ @JacksonXmlElementWrapper( localName = "events", useWrapping = false, namespace = DxfNamespaces.DXF_2_0 )
@JacksonXmlProperty( localName = "event", namespace = DxfNamespaces.DXF_2_0 )
public List<Event> getEvents()
{