Skip to content

Commit

Permalink
connector usage is unsynchronized
Browse files Browse the repository at this point in the history
  • Loading branch information
kohsuke committed Sep 9, 2017
1 parent 40fb38a commit 6178d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/kohsuke/github/GitHub.java
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ public String getApiUrl() {
/**
* Sets the custom connector used to make requests to GitHub.
*/
public synchronized void setConnector(HttpConnector connector) {
public void setConnector(HttpConnector connector) {
this.connector = connector;
}

Expand Down

0 comments on commit 6178d38

Please sign in to comment.