From 1f4234dfb5d3c2c1e1d7ea2061ca116cf320f60c Mon Sep 17 00:00:00 2001 From: Chris Vest Date: Mon, 15 Mar 2021 16:59:42 +0100 Subject: [PATCH] Fix checkstyle line length --- .../java/io/netty/buffer/api/memseg/MemSegBuffer.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/io/netty/buffer/api/memseg/MemSegBuffer.java b/src/main/java/io/netty/buffer/api/memseg/MemSegBuffer.java index bf0d17a..e0cd90d 100644 --- a/src/main/java/io/netty/buffer/api/memseg/MemSegBuffer.java +++ b/src/main/java/io/netty/buffer/api/memseg/MemSegBuffer.java @@ -71,12 +71,12 @@ class MemSegBuffer extends RcSupport implements Buffer, Re private int roff; private int woff; - MemSegBuffer(MemorySegment baseSegment, MemorySegment viewSegment, Drop drop, AllocatorControl alloc) { + MemSegBuffer(MemorySegment base, MemorySegment view, Drop drop, AllocatorControl alloc) { super(new MakeInaccisbleOnDrop(ArcDrop.wrap(drop))); this.alloc = alloc; - base = baseSegment; - seg = viewSegment; - wseg = viewSegment; + this.base = base; + seg = view; + wseg = view; order = ByteOrder.nativeOrder(); }