From 1e0a6c72b93b1850d9674475a2981f1d8157f9db Mon Sep 17 00:00:00 2001 From: Chris Brody Date: Mon, 11 May 2015 23:03:00 +0200 Subject: [PATCH] Declare JSONArray args as final in Sms.execute() due to inner class (ref: #33) --- src/android/Sms.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/android/Sms.java b/src/android/Sms.java index 1cb1d1d..ce2480e 100644 --- a/src/android/Sms.java +++ b/src/android/Sms.java @@ -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() {