Fix typo in ReferenceCountedOpenSslEngine (#11467)
Motivation: There should be no typos in comments Modifications: ``` alway -> always ``` Result: Fixed typo.
This commit is contained in:
parent
40fb6026ef
commit
d1ef28a22f
@ -2393,7 +2393,7 @@ public class ReferenceCountedOpenSslEngine extends SSLEngine implements Referenc
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (value instanceof SSLSessionBindingListener) {
|
if (value instanceof SSLSessionBindingListener) {
|
||||||
// Use newSSLSessionBindingEvent so we alway use the wrapper if needed.
|
// Use newSSLSessionBindingEvent so we always use the wrapper if needed.
|
||||||
((SSLSessionBindingListener) value).valueBound(newSSLSessionBindingEvent(name));
|
((SSLSessionBindingListener) value).valueBound(newSSLSessionBindingEvent(name));
|
||||||
}
|
}
|
||||||
notifyUnbound(old, name);
|
notifyUnbound(old, name);
|
||||||
@ -2439,7 +2439,7 @@ public class ReferenceCountedOpenSslEngine extends SSLEngine implements Referenc
|
|||||||
|
|
||||||
private void notifyUnbound(Object value, String name) {
|
private void notifyUnbound(Object value, String name) {
|
||||||
if (value instanceof SSLSessionBindingListener) {
|
if (value instanceof SSLSessionBindingListener) {
|
||||||
// Use newSSLSessionBindingEvent so we alway use the wrapper if needed.
|
// Use newSSLSessionBindingEvent so we always use the wrapper if needed.
|
||||||
((SSLSessionBindingListener) value).valueUnbound(newSSLSessionBindingEvent(name));
|
((SSLSessionBindingListener) value).valueUnbound(newSSLSessionBindingEvent(name));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user