Skip to content

Typo in "Common I/O Tasks in Modern Java" (https://dev.java/learn/modernio/ , #26 ) #188

@willy-b

Description

@willy-b

FYI there appears to be a typo in https://dev.java/learn/modernio/ (archived at https://web.archive.org/web/20260204185039/https://dev.java/learn/modernio/ ) (from #26 )

e.g. as in line at

Here, `path` is an instance of [`java.nio.Path`](javadoc:Path), obtained like this:
:

Here, `path` is an instance of [`java.nio.Path`](javadoc:Path),

It seems it should be java.nio.file.Path instead. That is what the latest javadoc link resolves to ( https://web.archive.org/web/20251231083107/https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/nio/file/Path.html ):

Image

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions