You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by no...@apache.org on 2021/09/06 15:45:20 UTC

[cordova-plugin-file] branch master updated: fix: Brought back the return statement -- also corrected code formatting (#489)

This is an automated email from the ASF dual-hosted git repository.

normanbreau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-file.git


The following commit(s) were added to refs/heads/master by this push:
     new aab43ad  fix: Brought back the return statement -- also corrected code formatting (#489)
aab43ad is described below

commit aab43adb97e106f1a323b1a0bda9e8e48568f6c7
Author: Norman Breau <no...@normanbreau.com>
AuthorDate: Mon Sep 6 12:45:15 2021 -0300

    fix: Brought back the return statement -- also corrected code formatting (#489)
---
 src/android/FileUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/android/FileUtils.java b/src/android/FileUtils.java
index 56563aa..695af7a 100644
--- a/src/android/FileUtils.java
+++ b/src/android/FileUtils.java
@@ -1135,7 +1135,7 @@ public class FileUtils extends CordovaPlugin {
         		throw new MalformedURLException("No installed handlers for this URL");
         	}
 
-            long x = fs.writeToFileAtURL(inputURL, data, offset, isBinary);
+            return fs.writeToFileAtURL(inputURL, data, offset, isBinary);
         } catch (IllegalArgumentException e) {
             MalformedURLException mue = new MalformedURLException("Unrecognized filesystem URL");
             mue.initCause(e);

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org