From bdc6a0efd0cc6d8b49e99da0f0a5a1528f8ee452 Mon Sep 17 00:00:00 2001 From: tgracchus <85102174+tgracchus@users.noreply.github.com> Date: Wed, 11 Oct 2023 10:33:23 +0200 Subject: [PATCH] Update src/main/java/com/hivemq/codec/decoder/MQTTMessageDecoder.java Co-authored-by: Mikhail Chernyakov --- src/main/java/com/hivemq/codec/decoder/MQTTMessageDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/hivemq/codec/decoder/MQTTMessageDecoder.java b/src/main/java/com/hivemq/codec/decoder/MQTTMessageDecoder.java index 292657849..110e1ce01 100644 --- a/src/main/java/com/hivemq/codec/decoder/MQTTMessageDecoder.java +++ b/src/main/java/com/hivemq/codec/decoder/MQTTMessageDecoder.java @@ -207,7 +207,7 @@ private static boolean isAlreadyConnected(ClientConnectionContext clientConnecti return clientConnectionContext.getProtocolVersion() != null; } - private Message handledMessage( + private @Nullable Message handledMessage( final @NotNull ByteBuf buf, final @NotNull ClientConnectionContext clientConnectionContext, final byte fixedHeader,