dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #22585
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 10893: Minor
------------------------------------------------------------
revno: 10893
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Sun 2013-05-19 23:34:54 +0200
message:
Minor
modified:
dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/dxf/converter/ReportTableConverter.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-importexport/src/main/java/org/hisp/dhis/importexport/dxf/converter/ReportTableConverter.java'
--- dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/dxf/converter/ReportTableConverter.java 2013-05-15 12:43:03 +0000
+++ dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/dxf/converter/ReportTableConverter.java 2013-05-19 21:34:54 +0000
@@ -74,8 +74,6 @@
private static final String FIELD_PERIODS = "periods";
private static final String FIELD_ORGANISATION_UNITS = "organisationUnits";
- private static final String FIELD_CATEGORY_COMBO = "categoryCombo";
-
private static final String FIELD_DO_INDICATORS = "doIndicators";
private static final String FIELD_DO_PERIODS = "doPeriods";
private static final String FIELD_DO_ORGANISATION_UNITS = "doOrganisationUnits";
@@ -218,8 +216,6 @@
}
writer.closeElement();
- writer.writeElement( FIELD_CATEGORY_COMBO, reportTable.getCategoryCombo() != null ? String.valueOf( reportTable.getCategoryCombo().getId() ) : EMPTY );
-
writer.writeElement( FIELD_DO_INDICATORS, String.valueOf( reportTable.isDoIndicators() ) );
writer.writeElement( FIELD_DO_PERIODS, String.valueOf( reportTable.isDoPeriods() ) );
writer.writeElement( FIELD_DO_ORGANISATION_UNITS, String.valueOf( reportTable.isDoUnits() ) );
@@ -302,8 +298,6 @@
reportTable.getOrganisationUnits().add( organisationUnitService.getOrganisationUnit( organisationUnitMapping.get( id ) ) );
}
- reader.moveToStartElement( FIELD_CATEGORY_COMBO );
-
reader.moveToStartElement( FIELD_DO_INDICATORS );
reportTable.setDoIndicators( Boolean.parseBoolean( reader.getElementValue() ) );