dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #27388
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13634: remove unnecessary vars for dryRun, skipExistingCheck
------------------------------------------------------------
revno: 13634
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2014-01-07 19:44:40 +0100
message:
remove unnecessary vars for dryRun, skipExistingCheck
modified:
dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/PDFFormController.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-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/PDFFormController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/PDFFormController.java 2013-12-11 12:28:53 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/api/controller/PDFFormController.java 2014-01-07 18:44:40 +0000
@@ -161,11 +161,8 @@
ImportStrategy strategy = ImportStrategy.NEW_AND_UPDATES;
IdentifiableProperty dataElementIdScheme = IdentifiableProperty.UID;
IdentifiableProperty orgUnitIdScheme = IdentifiableProperty.UID;
- boolean dryRun = false;
- boolean skipExistingCheck = false;
-
- ImportOptions options = new ImportOptions( dataElementIdScheme, orgUnitIdScheme, dryRun, true, strategy,
- skipExistingCheck );
+
+ ImportOptions options = new ImportOptions( dataElementIdScheme, orgUnitIdScheme, false, true, strategy, false );
log.info( options );