aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Nuaman <ahmed@ahmednuaman.com>2015-10-04 09:11:30 +0100
committerAhmed Nuaman <ahmed@ahmednuaman.com>2015-10-04 09:11:30 +0100
commit401893be10a1c548d43612fe2f619f9f54cddbe3 (patch)
tree145c9198865dbe27c77eaca632885b0436bb5d1c
parentc6095db1312045f798dad54c46190de8c5d419ef (diff)
downloadAndroidAsync-401893be10a1c548d43612fe2f619f9f54cddbe3.tar.gz
AndroidAsync-401893be10a1c548d43612fe2f619f9f54cddbe3.tar.bz2
AndroidAsync-401893be10a1c548d43612fe2f619f9f54cddbe3.zip
fixed typo relating to callback in multipart/form-data example
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 181bf4d..19ecda8 100644
--- a/README.md
+++ b/README.md
@@ -187,8 +187,8 @@ body.addStringPart("foo", "bar");
post.setBody(body);
AsyncHttpClient.getDefaultInstance().execute(post, new StringCallback() {
@Override
- public void onCompleted(Exception e, AsyncHttpResponse source, String result) {
- if (e != null) {
+ public void onCompleted(Exception ex, AsyncHttpResponse source, String result) {
+ if (ex != null) {
ex.printStackTrace();
return;
}