dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #43769
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 22192: Minor change
------------------------------------------------------------
revno: 22192
committer: Zubair Asghar<zubair@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2016-03-08 15:56:52 +0100
message:
Minor change
modified:
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/sms/outbound/DefaultOutboundSmsTransportService.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 2016-03-08 14:53:40 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/sms/outbound/DefaultOutboundSmsTransportService.java 2016-03-08 14:56:52 +0000
@@ -35,7 +35,6 @@
import java.util.Set;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.hisp.dhis.sms.SmsPublisher;
import org.hisp.dhis.sms.SmsServiceException;
import org.hisp.dhis.sms.config.BulkSmsGatewayConfig;
import org.hisp.dhis.sms.config.ClickatellGatewayConfig;
@@ -94,13 +93,6 @@
this.outboundSmsService = outboundSmsService;
}
-// private SmsPublisher smsPublisher;
-//
-// public void setSmsPublisher( SmsPublisher smsPublisher )
-// {
-// this.smsPublisher = smsPublisher;
-// }
-
// -------------------------------------------------------------------------
// OutboundSmsTransportService implementation
// -------------------------------------------------------------------------
@@ -128,8 +120,7 @@
try
{
- getService().stopService();
- // smsPublisher.stop();
+ getService().stopService();
}
catch ( SMSLibException e )
{
@@ -162,17 +153,6 @@
{
getService().setInboundMessageNotification( smppInboundMessageNotification );
}
-
- try
- {
- // smsPublisher.start();
- }
- catch ( Exception e1 )
- {
- message = "Unable to start smsConsumer service " + e1.getMessage();
- log.warn( "Unable to start smsConsumer service ", e1 );
- }
-
}
catch ( SMSLibException e )
{