Skip to content

Commit 39e7c5c

Browse files
committed
Fixed CacheControl package name
With okhttp 3, the package name changed. In the okhttp3.OkHttpConnector, the incorrect class is loaded, creating a ClassNotFoundException at runtime when okhttp3 only is loaded.
1 parent 60acd5c commit 39e7c5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/kohsuke/github/extras/okhttp3/OkHttpConnector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package org.kohsuke.github.extras.okhttp3;
22

3-
import com.squareup.okhttp.CacheControl;
3+
import okhttp3.CacheControl;
44
import okhttp3.ConnectionSpec;
55
import okhttp3.OkHttpClient;
66
import org.kohsuke.github.HttpConnector;

0 commit comments

Comments
 (0)