File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/main/java/org/kohsuke/github/extras Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 1
1
package org .kohsuke .github .extras ;
2
2
3
+ import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
3
4
import org .kohsuke .github .connector .GitHubConnector ;
4
5
import org .kohsuke .github .connector .GitHubConnectorRequest ;
5
6
import org .kohsuke .github .connector .GitHubConnectorResponse ;
11
12
*
12
13
* @author Liam Newman
13
14
*/
15
+ @ SuppressFBWarnings (value = { "CT_CONSTRUCTOR_THROW" }, justification = "Basic validation" )
14
16
public class HttpClientGitHubConnector implements GitHubConnector {
15
17
16
18
/**
17
19
* Instantiates a new Impatient http connector.
18
20
*/
19
21
public HttpClientGitHubConnector () {
22
+ throw new UnsupportedOperationException ("java.net.http.HttpClient is only supported in Java 11+." );
20
23
}
21
24
22
25
@ Override
You can’t perform that action at this time.
0 commit comments