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
fc84c9cc47
commit
f29b187159
@ -528,8 +528,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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user