Skip to content

Commit 8b89906

Browse files
author
duke
committedSep 29, 2021
Automatic merge of jdk:master into master
2 parents a774ca5 + 97b2874 commit 8b89906

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎src/java.base/share/classes/java/nio/file/Files.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -3110,7 +3110,7 @@ public static BufferedWriter newBufferedWriter(Path path, OpenOption... options)
31103110
* @throws DirectoryNotEmptyException
31113111
* the {@code REPLACE_EXISTING} option is specified but the file
31123112
* cannot be replaced because it is a non-empty directory
3113-
* <i>(optional specific exception)</i> *
3113+
* <i>(optional specific exception)</i>
31143114
* @throws UnsupportedOperationException
31153115
* if {@code options} contains a copy option that is not supported
31163116
* @throws SecurityException

‎src/java.base/share/classes/java/nio/file/Path.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2007, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -911,7 +911,7 @@ default WatchKey register(WatchService watcher,
911911
* {@code getName(index)}, where {@code index} ranges from zero to
912912
* {@code getNameCount() - 1}, inclusive.
913913
*
914-
* @return an iterator over the name elements of this path.
914+
* @return an iterator over the name elements of this path
915915
*/
916916
@Override
917917
default Iterator<Path> iterator() {

0 commit comments

Comments
 (0)
Please sign in to comment.