← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5091: Fixed compilation error

 

------------------------------------------------------------
revno: 5091
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2011-11-03 08:38:34 +0100
message:
  Fixed compilation error
modified:
  dhis-2/dhis-support/dhis-support-jdbc-test/src/test/java/org/hisp/dhis/jdbc/batchhandler/CompleteDataSetRegistrationBatchHandlerTest.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-support/dhis-support-jdbc-test/src/test/java/org/hisp/dhis/jdbc/batchhandler/CompleteDataSetRegistrationBatchHandlerTest.java'
--- dhis-2/dhis-support/dhis-support-jdbc-test/src/test/java/org/hisp/dhis/jdbc/batchhandler/CompleteDataSetRegistrationBatchHandlerTest.java	2010-05-17 19:31:07 +0000
+++ dhis-2/dhis-support/dhis-support-jdbc-test/src/test/java/org/hisp/dhis/jdbc/batchhandler/CompleteDataSetRegistrationBatchHandlerTest.java	2011-11-03 07:38:34 +0000
@@ -90,8 +90,6 @@
         organisationUnitService = (OrganisationUnitService) getBean( OrganisationUnitService.ID );
         completeDataSetRegistrationService = (CompleteDataSetRegistrationService) getBean( CompleteDataSetRegistrationService.ID );
         
-        //batchHandlerFactory = (BatchHandlerFactory) getBean( "batchHandlerFactory" );
-        
         batchHandler = batchHandlerFactory.createBatchHandler( CompleteDataSetRegistrationBatchHandler.class );
         
         dataSetA = createDataSet( 'A', new MonthlyPeriodType() );
@@ -113,10 +111,10 @@
         dateA = getDate( 2000, 1, 15 );
         dateB = getDate( 2000, 2, 15 );
         
-        registrationA = new CompleteDataSetRegistration( dataSetA, periodA, unitA, dateA );
-        registrationB = new CompleteDataSetRegistration( dataSetA, periodB, unitA, dateB );
-        registrationC = new CompleteDataSetRegistration( dataSetB, periodA, unitA, dateA );
-        registrationD = new CompleteDataSetRegistration( dataSetB, periodB, unitA, dateB );
+        registrationA = new CompleteDataSetRegistration( dataSetA, periodA, unitA, dateA, "" );
+        registrationB = new CompleteDataSetRegistration( dataSetA, periodB, unitA, dateB, "" );
+        registrationC = new CompleteDataSetRegistration( dataSetB, periodA, unitA, dateA, "" );
+        registrationD = new CompleteDataSetRegistration( dataSetB, periodB, unitA, dateB, "" );
         
         batchHandler.init();
     }