File tree Expand file tree Collapse file tree 5 files changed +17
-5
lines changed
src/com/loopj/android/http Expand file tree Collapse file tree 5 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 4
4
<classpathentry kind =" src" path =" src" />
5
5
<classpathentry kind =" src" path =" gen" />
6
6
<classpathentry kind =" src" path =" examples" />
7
- <classpathentry kind =" output" path =" bin" />
7
+ <classpathentry kind =" output" path =" bin/classes " />
8
8
</classpath >
Original file line number Diff line number Diff line change 1
1
<project default =" package" >
2
2
<property file =" local.properties" />
3
- <property file =" default .properties" />
3
+ <property file =" project .properties" />
4
4
5
5
<!-- Package properties -->
6
6
<property name =" package.name" value =" android-async-http" />
68
68
69
69
<!-- Compile and package a jar -->
70
70
<target name =" package" depends =" compile,jar" />
71
- </project >
71
+ </project >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # This file is automatically generated by Android Tools.
2
+ # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3
+ #
4
+ # This file must be checked in Version Control Systems.
5
+ #
6
+ # To customize properties used by the Ant build system use,
7
+ # "ant.properties", and override values to adapt the script to your
8
+ # project structure.
9
+
10
+ android.library =true
11
+ # Project target.
12
+ target =android-3
Original file line number Diff line number Diff line change @@ -69,6 +69,8 @@ protected void handleSuccessMessage(String responseBody) {
69
69
onSuccess ((JSONObject )jsonResponse );
70
70
} else if (jsonResponse instanceof JSONArray ) {
71
71
onSuccess ((JSONArray )jsonResponse );
72
+ } else {
73
+ throw new JSONException ("Unexpected type " + jsonResponse .getClass ().getName ());
72
74
}
73
75
} catch (JSONException e ) {
74
76
onFailure (e , responseBody );
You can’t perform that action at this time.
0 commit comments