8274314: Typo in WatchService#poll(long timeout, TimeUnit unit) javadoc

Reviewed-by: alanb, lancea
This commit is contained in:
Jaikiran Pai 2021-09-25 12:42:03 +00:00
parent 9bc865d38c
commit 8c122af6d8

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2007, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -143,7 +143,7 @@ public interface WatchService
* specified wait time if none are yet present. * specified wait time if none are yet present.
* *
* @param timeout * @param timeout
* how to wait before giving up, in units of unit * how long to wait before giving up, in units of unit
* @param unit * @param unit
* a {@code TimeUnit} determining how to interpret the timeout * a {@code TimeUnit} determining how to interpret the timeout
* parameter * parameter