From 6178d3889546e7eb5de5f4bdb3ab17d0e6c16f5f Mon Sep 17 00:00:00 2001 From: Kohsuke Kawaguchi Date: Sat, 9 Sep 2017 12:47:18 -0700 Subject: [PATCH] connector usage is unsynchronized --- src/main/java/org/kohsuke/github/GitHub.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/kohsuke/github/GitHub.java b/src/main/java/org/kohsuke/github/GitHub.java index e248372ad1..62c1b4e80c 100644 --- a/src/main/java/org/kohsuke/github/GitHub.java +++ b/src/main/java/org/kohsuke/github/GitHub.java @@ -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; }