Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackJack committed Jul 20, 2016
1 parent fe6465a commit 6375f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xutils/src/main/java/org/xutils/http/BaseParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ public String toString() {
return sb.toString();
}

private void checkBodyParams() {
private synchronized void checkBodyParams() {
if (bodyParams.isEmpty()) return;

if (!HttpMethod.permitsRequestBody(method)
Expand Down

0 comments on commit 6375f8c

Please sign in to comment.