Make ReferenceCountedOpenSslContext.setUseTasks public (#10289)

Motivation:
make the existing setter `ReferenceCountedOpenSslContext.setUseTasks` public

Modification:

Added the `public` qualified and removed the comment "for tests only"

Result:

Fixes #10288
This commit is contained in:
sanjaypujare 2020-05-15 01:04:08 -07:00 committed by GitHub
parent 69db5bff71
commit 20b8685c8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -529,8 +529,7 @@ public abstract class ReferenceCountedOpenSslContext extends SslContext implemen
}
}
// Exposed for testing only
final void setUseTasks(boolean useTasks) {
public final void setUseTasks(boolean useTasks) {
Lock writerLock = ctxLock.writeLock();
writerLock.lock();
try {