Errors.throwConnectException(...) should be public (#10745)

Motivation:

ddebc1027d missed to make Errors.throwConnectException(...) public

Modifications:

Make method public

Result:

Be able to use Errors.throwConnectException(...) from other module
This commit is contained in:
Norman Maurer 2020-10-29 07:44:49 +01:00 committed by GitHub
parent d371b1bbaa
commit b4edf21bd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,7 @@ public final class Errors {
}
}
static void throwConnectException(String method, int err)
public static void throwConnectException(String method, int err)
throws IOException {
if (err == ERROR_EALREADY_NEGATIVE) {
throw new ConnectionPendingException();