diff --git a/src/android/FirebasePlugin.java b/src/android/FirebasePlugin.java index 18d2f5636..dfd2c61a3 100755 --- a/src/android/FirebasePlugin.java +++ b/src/android/FirebasePlugin.java @@ -527,7 +527,7 @@ public void run() { } private void logError(final CallbackContext callbackContext, final JSONArray args) throws JSONException { - String message = args.getString(0); + final String message = args.getString(0); cordova.getThreadPool().execute(new Runnable() { public void run() { @@ -908,7 +908,7 @@ private static String getPrivateField(PhoneAuthCredential credential, Field fiel } } - public void signInWithCredential(final CallbackContext callbackContext, JSONArray args){ + public void signInWithCredential(final CallbackContext callbackContext, final JSONArray args){ cordova.getThreadPool().execute(new Runnable() { public void run() { try { @@ -940,7 +940,7 @@ public void onComplete(@NonNull Task task) { }); } - public void linkUserWithCredential(final CallbackContext callbackContext, JSONArray args){ + public void linkUserWithCredential(final CallbackContext callbackContext, final JSONArray args){ cordova.getThreadPool().execute(new Runnable() { public void run() { try {