dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #40420
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 20500: remove program.kind, replaced by programType enum
------------------------------------------------------------
revno: 20500
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2015-10-05 11:51:58 +0700
message:
remove program.kind, replaced by programType enum
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/Program.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-api/src/main/java/org/hisp/dhis/program/Program.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/Program.java 2015-09-13 16:04:26 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/Program.java 2015-10-05 04:51:58 +0000
@@ -383,14 +383,6 @@
this.incidentDateLabel = incidentDateLabel;
}
- //TODO remove
- @JsonProperty
- @JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )
- public String getKind()
- {
- return programType.name();
- }
-
@JsonProperty
@JsonView( { DetailedView.class, ExportView.class } )
@JacksonXmlProperty( namespace = DxfNamespaces.DXF_2_0 )