Skip to content

Commit aab43ad

Browse files
authored
fix: Brought back the return statement -- also corrected code formatting (apache#489)
1 parent 1a43050 commit aab43ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/android/FileUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@ public long write(String srcURLstr, String data, int offset, boolean isBinary) t
11351135
throw new MalformedURLException("No installed handlers for this URL");
11361136
}
11371137

1138-
long x = fs.writeToFileAtURL(inputURL, data, offset, isBinary);
1138+
return fs.writeToFileAtURL(inputURL, data, offset, isBinary);
11391139
} catch (IllegalArgumentException e) {
11401140
MalformedURLException mue = new MalformedURLException("Unrecognized filesystem URL");
11411141
mue.initCause(e);

0 commit comments

Comments
 (0)