[#3805] Fix incorrect javadoc in PlatformDependent
This commit is contained in:
parent
0decf2f647
commit
a80f0d69a7
@ -152,8 +152,8 @@ public final class PlatformDependent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns {@code true} if the platform has reliable low-level direct buffer access API and a user specified
|
* Returns {@code true} if the platform has reliable low-level direct buffer access API and a user has not specified
|
||||||
* {@code -Dio.netty.preferDirect} option.
|
* {@code -Dio.netty.noPreferDirect} option.
|
||||||
*/
|
*/
|
||||||
public static boolean directBufferPreferred() {
|
public static boolean directBufferPreferred() {
|
||||||
return DIRECT_BUFFER_PREFERRED;
|
return DIRECT_BUFFER_PREFERRED;
|
||||||
|
Loading…
Reference in New Issue
Block a user