Fix typo in ReferenceCountedOpenSslEngine (#11467)

Motivation:

There should be no typos in comments

Modifications:
```
alway -> always
```

Result:

Fixed typo.
This commit is contained in:
Ikko Ashimine 2021-07-08 23:29:58 +09:00 committed by GitHub
parent 40fb6026ef
commit d1ef28a22f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));
} }
} }