Skip to content

Commit f984c2b

Browse files
author
Brian Burkhalter
committed
8351505: (fs) Typo in the documentation of java.nio.file.spi.FileSystemProvider.getFileSystem()
Reviewed-by: alanb, lancea, iris
1 parent ffa6340 commit f984c2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/java.base/share/classes/java/nio/file/spi/FileSystemProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2007, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2007, 2025, 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
@@ -244,7 +244,7 @@ public abstract FileSystem newFileSystem(URI uri, Map<String,?> env)
244244
*
245245
* <p> This method returns a reference to a {@code FileSystem} that was
246246
* created by invoking the {@link #newFileSystem(URI,Map) newFileSystem(URI,Map)}
247-
* method. File systems created the {@link #newFileSystem(Path,Map)
247+
* method. File systems created by the {@link #newFileSystem(Path,Map)
248248
* newFileSystem(Path,Map)} method are not returned by this method.
249249
* The file system is identified by its {@code URI}. Its exact form
250250
* is highly provider dependent. In the case of the default provider the URI's

0 commit comments

Comments
 (0)