Skip to content

Commit 9636386

Browse files
committed
Merge pull request android-async-http#130 from jlopez/master
Add init() call to constructor
2 parents 55c7128 + e2e8742 commit 9636386

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/com/loopj/android/http/RequestParams.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ public RequestParams(String key, String value) {
9898
* @throws IllegalArgumentException if the number of arguments isn't even.
9999
*/
100100
public RequestParams(Object... keysAndValues) {
101+
init();
101102
int len = keysAndValues.length;
102103
if (len % 2 != 0)
103104
throw new IllegalArgumentException("Supplied arguments must be even");

0 commit comments

Comments
 (0)