6060public abstract class SSLEngineTest {
6161
6262 @ Mock
63- protected MessageReciever serverReceiver ;
63+ protected MessageReceiver serverReceiver ;
6464 @ Mock
65- protected MessageReciever clientReceiver ;
65+ protected MessageReceiver clientReceiver ;
6666
6767 protected Throwable serverException ;
6868 protected Throwable clientException ;
@@ -76,15 +76,15 @@ public abstract class SSLEngineTest {
7676 protected CountDownLatch serverLatch ;
7777 protected CountDownLatch clientLatch ;
7878
79- interface MessageReciever {
79+ interface MessageReceiver {
8080 void messageReceived (ByteBuf msg );
8181 }
8282
8383 protected static final class MessageDelegatorChannelHandler extends SimpleChannelInboundHandler <ByteBuf > {
84- private final MessageReciever receiver ;
84+ private final MessageReceiver receiver ;
8585 private final CountDownLatch latch ;
8686
87- public MessageDelegatorChannelHandler (MessageReciever receiver , CountDownLatch latch ) {
87+ public MessageDelegatorChannelHandler (MessageReceiver receiver , CountDownLatch latch ) {
8888 super (false );
8989 this .receiver = receiver ;
9090 this .latch = latch ;
@@ -283,7 +283,7 @@ private static void verifyApplicationLevelProtocol(Channel channel, String expec
283283 }
284284
285285 private static void writeAndVerifyReceived (ByteBuf message , Channel sendChannel , CountDownLatch receiverLatch ,
286- MessageReciever receiver ) throws Exception {
286+ MessageReceiver receiver ) throws Exception {
287287 List <ByteBuf > dataCapture = null ;
288288 try {
289289 sendChannel .writeAndFlush (message );
0 commit comments