← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14453: Unused dependency

 

------------------------------------------------------------
revno: 14453
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2014-03-26 20:40:22 +0100
message:
  Unused dependency
modified:
  dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.java
  dhis-2/dhis-services/dhis-service-mobile/src/main/resources/META-INF/dhis/beans.xml


--
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-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.java'
--- dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.java	2014-03-20 15:05:57 +0000
+++ dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.java	2014-03-26 19:40:22 +0000
@@ -118,8 +118,6 @@
 
     private TrackedEntityAttributeValueService attValueService;
 
-    private TrackedEntityAttributeService attService;
-
     private TrackedEntityDataValueService dataValueService;
 
     private TrackedEntityMobileSettingService mobileSettingService;
@@ -189,12 +187,6 @@
     }
 
     @Required
-    public void setAttService( TrackedEntityAttributeService attService )
-    {
-        this.attService = attService;
-    }
-
-    @Required
     public void setMobileSettingService( TrackedEntityMobileSettingService mobileSettingService )
     {
         this.mobileSettingService = mobileSettingService;

=== modified file 'dhis-2/dhis-services/dhis-service-mobile/src/main/resources/META-INF/dhis/beans.xml'
--- dhis-2/dhis-services/dhis-service-mobile/src/main/resources/META-INF/dhis/beans.xml	2014-02-07 20:25:49 +0000
+++ dhis-2/dhis-services/dhis-service-mobile/src/main/resources/META-INF/dhis/beans.xml	2014-03-26 19:40:22 +0000
@@ -18,7 +18,6 @@
 
   <bean id="org.hisp.dhis.mobile.api.ActivityReportingService" class="org.hisp.dhis.mobile.service.ActivityReportingServiceImpl">
     <property name="attValueService" ref="org.hisp.dhis.trackedentityattributevalue.TrackedEntityAttributeValueService" />
-    <property name="attService" ref="org.hisp.dhis.trackedentity.TrackedEntityAttributeService" />
     <property name="programStageInstanceService" ref="org.hisp.dhis.program.ProgramStageInstanceService" />
     <property name="mobileSettingService" ref="org.hisp.dhis.api.mobile.TrackedEntityMobileSettingService" />
     <property name="programStageSectionService" ref="org.hisp.dhis.program.ProgramStageSectionService" />