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:
parent
69db5bff71
commit
20b8685c8b
@ -529,8 +529,7 @@ public abstract class ReferenceCountedOpenSslContext extends SslContext implemen
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Exposed for testing only
|
public final void setUseTasks(boolean useTasks) {
|
||||||
final void setUseTasks(boolean useTasks) {
|
|
||||||
Lock writerLock = ctxLock.writeLock();
|
Lock writerLock = ctxLock.writeLock();
|
||||||
writerLock.lock();
|
writerLock.lock();
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user