Fix checkstyle so the build passes
This commit is contained in:
parent
84e992c2c9
commit
b3aff17f5a
@ -152,8 +152,8 @@ public interface Buf extends Rc<Buf>, BufAccessors {
|
||||
*
|
||||
* @param offset The writer offset to set.
|
||||
* @return This Buf.
|
||||
* @throws IndexOutOfBoundsException if the specified {@code offset} is less than the current {@link #readerOffset()}
|
||||
* or greater than {@link #capacity()}.
|
||||
* @throws IndexOutOfBoundsException if the specified {@code offset} is less than the current
|
||||
* {@link #readerOffset()} or greater than {@link #capacity()}.
|
||||
*/
|
||||
Buf writerOffset(int offset);
|
||||
|
||||
|
@ -18,7 +18,8 @@ package io.netty.buffer.b2;
|
||||
/**
|
||||
* This interface is just the primitive data accessor methods that {@link Buf} exposes.
|
||||
* It can be useful if you only need the data access methods, and perhaps wish to decorate or modify their behaviour.
|
||||
* Usually, you'd use the {@link Buf} interface directly, since this lets you properly control the buffer reference count.
|
||||
* Usually, you'd use the {@link Buf} interface directly, since this lets you properly control the buffer reference
|
||||
* count.
|
||||
*/
|
||||
public interface BufAccessors {
|
||||
// <editor-fold defaultstate="collapsed" desc="Primitive accessors interface.">
|
||||
|
@ -1,3 +1,18 @@
|
||||
/*
|
||||
* Copyright 2020 The Netty Project
|
||||
*
|
||||
* The Netty Project licenses this file to you under the Apache License,
|
||||
* version 2.0 (the "License"); you may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at:
|
||||
*
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package io.netty.buffer.b2;
|
||||
|
||||
import org.junit.Test;
|
||||
|
Loading…
x
Reference in New Issue
Block a user