dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #27784
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13836: Removed unused dependencies
------------------------------------------------------------
revno: 13836
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2014-01-24 00:35:21 +0200
message:
Removed unused dependencies
modified:
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/sms/outbound/DefaultOutboundSmsTransportService.java
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/validation/scheduling/MonitoringTask.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-core/src/main/java/org/hisp/dhis/sms/outbound/DefaultOutboundSmsTransportService.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/sms/outbound/DefaultOutboundSmsTransportService.java 2014-01-23 22:32:51 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/sms/outbound/DefaultOutboundSmsTransportService.java 2014-01-23 22:35:21 +0000
@@ -70,7 +70,7 @@
private final String SMPP_GATEWAY = "smpp_gw";
- public Map<String, String> gatewayMap = new HashMap<String, String>();
+ public static Map<String, String> gatewayMap = new HashMap<String, String>(); //TODO fix, poor solution
private GateWayFactory gatewayFactory = new GateWayFactory();
=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/validation/scheduling/MonitoringTask.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/validation/scheduling/MonitoringTask.java 2013-10-23 22:03:17 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/validation/scheduling/MonitoringTask.java 2014-01-23 22:35:21 +0000
@@ -31,14 +31,8 @@
import static org.hisp.dhis.system.notification.NotificationLevel.ERROR;
import static org.hisp.dhis.system.notification.NotificationLevel.INFO;
-import org.hisp.dhis.constant.ConstantService;
-import org.hisp.dhis.datavalue.DataValueService;
-import org.hisp.dhis.expression.ExpressionService;
import org.hisp.dhis.message.MessageService;
-import org.hisp.dhis.organisationunit.OrganisationUnitService;
-import org.hisp.dhis.period.PeriodService;
import org.hisp.dhis.scheduling.TaskId;
-import org.hisp.dhis.setting.SystemSettingManager;
import org.hisp.dhis.system.notification.Notifier;
import org.hisp.dhis.validation.ValidationRuleService;
import org.springframework.beans.factory.annotation.Autowired;
@@ -57,24 +51,6 @@
private Notifier notifier;
@Autowired
- private ExpressionService expressionService;
-
- @Autowired
- private PeriodService periodService;
-
- @Autowired
- private OrganisationUnitService organisationUnitService;
-
- @Autowired
- private DataValueService dataValueService;
-
- @Autowired
- private ConstantService constantService;
-
- @Autowired
- private SystemSettingManager systemSettingManager;
-
- @Autowired
private MessageService messageService;
private TaskId taskId;