Skip to content

Commit f230d59

Browse files
leogomestrustin
authored andcommitted
Updates the javadoc of Unpooled to remove mention to methods it does not provide
Motivation: `Unpooled` javadoc's mentioned the generation of hex dump and swapping an integer's byte order, which are actually provided by `ByteBufUtil`. Modifications: Sentence moved to `ByteBufUtil` javadoc. Result: `Unpooled` javadoc is correct.
1 parent a0ca605 commit f230d59

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

buffer/src/main/java/io/netty/buffer/ByteBufUtil.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
import java.util.Locale;
3535

3636
/**
37-
* A collection of utility methods that is related with handling {@link ByteBuf}.
37+
* A collection of utility methods that is related with handling {@link ByteBuf},
38+
* such as the generation of hex dump and swapping an integer's byte order.
3839
*/
3940
public final class ByteBufUtil {
4041

buffer/src/main/java/io/netty/buffer/Unpooled.java

-6
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,6 @@
6767
* between the original data and the copied buffer. Various copy methods are
6868
* provided and their name is all {@code copiedBuffer()}. It is also convenient
6969
* to use this operation to merge multiple buffers into one buffer.
70-
*
71-
* <h3>Miscellaneous utility methods</h3>
72-
*
73-
* This class also provides various utility methods to help implementation
74-
* of a new buffer type, generation of hex dump and swapping an integer's
75-
* byte order.
7670
*/
7771
public final class Unpooled {
7872

0 commit comments

Comments
 (0)