dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #43717
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 22159: Code style
------------------------------------------------------------
revno: 22159
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2016-03-07 17:08:32 +0100
message:
Code style
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/sms/outbound/OutboundSmsTransportService.java
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/sms/DefaultSmsSender.java
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-api/src/main/java/org/hisp/dhis/sms/outbound/OutboundSmsTransportService.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/sms/outbound/OutboundSmsTransportService.java 2016-03-07 13:15:24 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/sms/outbound/OutboundSmsTransportService.java 2016-03-07 16:08:32 +0000
@@ -72,5 +72,5 @@
String sendMessage( OutboundSms sms, String gatewayId )
throws SmsServiceException;
- boolean sendAyncMessages(OutboundSms sms, String gatewayId);
+ boolean sendAyncMessage( OutboundSms sms, String gatewayId );
}
=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/sms/DefaultSmsSender.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/sms/DefaultSmsSender.java 2016-03-07 13:15:24 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/sms/DefaultSmsSender.java 2016-03-07 16:08:32 +0000
@@ -213,7 +213,7 @@
throw new SmsServiceNotEnabledException();
}
- return transportService.sendAyncMessages( sms, transportService.getDefaultGateway() );
+ return transportService.sendAyncMessage( sms, transportService.getDefaultGateway() );
}
// -------------------------------------------------------------------------
=== 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-07 13:15:24 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/sms/outbound/DefaultOutboundSmsTransportService.java 2016-03-07 16:08:32 +0000
@@ -497,9 +497,8 @@
}
@Override
- public boolean sendAyncMessages( OutboundSms sms, String gatewayId )
+ public boolean sendAyncMessage( OutboundSms sms, String gatewayId )
{
-
String recipient = null;
Set<String> recipients = sms.getRecipients();