src/java.base/share/classes/sun/security/ssl/SupportedGroupsExtension.java
branchJDK-8145252-TLS13-branch
changeset 56704 c3ee22c3a0f6
parent 56542 56aaa6cb3693
child 56708 25178bb3e8f5
--- a/src/java.base/share/classes/sun/security/ssl/SupportedGroupsExtension.java	Thu Jun 07 21:16:21 2018 -0700
+++ b/src/java.base/share/classes/sun/security/ssl/SupportedGroupsExtension.java	Thu Jun 07 21:55:35 2018 -0700
@@ -60,14 +60,14 @@
 final class SupportedGroupsExtension {
     static final HandshakeProducer chNetworkProducer =
             new CHSupportedGroupsProducer();
-    static final ExtensionConsumer chOnLoadConcumer =
+    static final ExtensionConsumer chOnLoadConsumer =
             new CHSupportedGroupsConsumer();
     static final SSLStringize sgsStringize =
             new SupportedGroupsStringize();
 
     static final HandshakeProducer eeNetworkProducer =
             new EESupportedGroupsProducer();
-    static final ExtensionConsumer eeOnLoadConcumer =
+    static final ExtensionConsumer eeOnLoadConsumer =
             new EESupportedGroupsConsumer();
 
     /**
@@ -873,7 +873,7 @@
         @Override
         public void consume(ConnectionContext context,
             HandshakeMessage message, ByteBuffer buffer) throws IOException {
-            // The comsuming happens in server side only.
+            // The consuming happens in server side only.
             ServerHandshakeContext shc = (ServerHandshakeContext)context;
 
             // Is it a supported and enabled extension?
@@ -997,7 +997,7 @@
         @Override
         public void consume(ConnectionContext context,
             HandshakeMessage message, ByteBuffer buffer) throws IOException {
-            // The comsuming happens in client side only.
+            // The consuming happens in client side only.
             ClientHandshakeContext chc = (ClientHandshakeContext)context;
 
             // Is it a supported and enabled extension?