RFR: 8302806: (fs) Remove com.sun.nio.file.SensitivityWatchEventModifier [v5]
Alan Bateman
alanb at openjdk.org
Fri Feb 24 07:00:08 UTC 2023
On Thu, 23 Feb 2023 21:16:41 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> This enum is not used in the JDK and did not appear in external source code searches.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>
> 8302806: Remove modifier loops
src/java.base/linux/classes/sun/nio/fs/LinuxWatchService.java line 229:
> 227:
> 228: // no modifiers supported at this time
> 229: if (modifiers != null) {
Suggestion:
if (modifiers.length > 0) {
Same thing in PollingWatchService.
-------------
PR: https://git.openjdk.org/jdk/pull/12626
More information about the core-libs-dev
mailing list