Skip to content

Commit

Permalink
8274314: Typo in WatchService#poll(long timeout, TimeUnit unit) javadoc
Browse files Browse the repository at this point in the history
Reviewed-by: alanb, lancea
  • Loading branch information
jaikiran committed Sep 25, 2021
1 parent 9bc865d commit 8c122af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/java.base/share/classes/java/nio/file/WatchService.java
Original file line number Diff line number Diff line change
@@ -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.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -143,7 +143,7 @@ public interface WatchService
* specified wait time if none are yet present.
*
* @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
* a {@code TimeUnit} determining how to interpret the timeout
* parameter
Expand Down

1 comment on commit 8c122af

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.