Fixed some sonar warnings.
[bgpcep.git] / pcep / impl / src / main / java / org / opendaylight / protocol / pcep / impl / PCEPMessageHeaderDecoder.java
index 1a151efcd5b5fbc5aafa38e2f60edfda3730598d..e5202a44e215bf80f01444cc2a542df0a54dda0f 100644 (file)
@@ -14,12 +14,13 @@ import io.netty.handler.codec.LengthFieldBasedFrameDecoder;
  */
 public class PCEPMessageHeaderDecoder extends LengthFieldBasedFrameDecoder {
 
-       private static final int MAX_FRAME_SIZE = 65528; // min 4, max 4096
+       // min 4, max 4096
+       private static final int MAX_FRAME_SIZE = 65528;
 
        private static final int VERSION_FLAGS_SIZE = 1;
 
-       private static final int LENGTH_SIZE = 2; // the length field represents the length of the whole message including
-                                                                                               // the header
+       // the length field represents the length of the whole message including the header
+       private static final int LENGTH_SIZE = 2;
 
        private static final int MESSAGE_TYPE_SIZE = 1;