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
parent d804e34cf0
commit ceb9dd53aa

View File

@ -94,7 +94,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();