← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 22160: Consistent method naming

 

------------------------------------------------------------
revno: 22160
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2016-03-07 17:25:54 +0100
message:
  Consistent method naming
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/sms/SmsSender.java
  dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/sms/DefaultSmsSender.java
  dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/sms/SmsController.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/SmsSender.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/sms/SmsSender.java	2016-03-07 13:15:24 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/sms/SmsSender.java	2016-03-07 16:25:54 +0000
@@ -46,5 +46,5 @@
 
     String sendMessage( String subject, String text, User sender, List<User> users, boolean forceSend );
     
-    boolean sendAyncMessages( OutboundSms sms );
+    boolean sendAyncMessage( OutboundSms sms );
 }

=== 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 16:08:32 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/sms/DefaultSmsSender.java	2016-03-07 16:25:54 +0000
@@ -205,7 +205,7 @@
 
     @Transactional
     @Override
-    public boolean sendAyncMessages( OutboundSms sms )
+    public boolean sendAyncMessage( OutboundSms sms )
         throws SmsServiceException
     {
         if ( transportService == null || !transportService.isEnabled() )

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/sms/SmsController.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/sms/SmsController.java	2016-03-07 13:15:24 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/sms/SmsController.java	2016-03-07 16:25:54 +0000
@@ -113,7 +113,7 @@
 
         if ( async )
         {
-            smsSender.sendAyncMessages( sms );
+            smsSender.sendAyncMessage( sms );
 
             webMessageService.send( WebMessageUtils.ok( "Message Sent asynchronously" ), response, request );