Skip to content

Commit

Permalink
Merge pull request #34 from brodybits/final-args-fix
Browse files Browse the repository at this point in the history
Declare JSONArray args as final in Sms.execute() due to inner class (ref: #33)
  • Loading branch information
dbaq committed May 11, 2015
2 parents 2ec01ff + 1e0a6c7 commit b423bb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/Sms.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class Sms extends CordovaPlugin {
private static final String INTENT_FILTER_SMS_SENT = "SMS_SENT";

@Override
public boolean execute(String action, JSONArray args, final CallbackContext callbackContext) throws JSONException {
public boolean execute(String action, final JSONArray args, final CallbackContext callbackContext) throws JSONException {

if (action.equals(ACTION_SEND_SMS)) {
cordova.getThreadPool().execute(new Runnable() {
Expand Down

0 comments on commit b423bb3

Please sign in to comment.