Skip to content

Commit e38e365

Browse files
committedAug 6, 2021
8271208: Typo in ModuleDescriptor.read javadoc
Reviewed-by: alanb, iris
1 parent 14692d5 commit e38e365

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/java.base/share/classes/java/lang/module/ModuleDescriptor.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2009, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2009, 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
@@ -2447,7 +2447,7 @@ public static ModuleDescriptor read(InputStream in,
24472447
* Reads the binary form of a module declaration from an input stream as a
24482448
* module descriptor. This method works exactly as specified by the 2-arg
24492449
* {@link #read(InputStream,Supplier) read} method with the exception that
2450-
* a packager finder is not used to find additional packages when the
2450+
* a package finder is not used to find additional packages when the
24512451
* module descriptor read from the stream does not indicate the set of
24522452
* packages.
24532453
*
@@ -2516,7 +2516,7 @@ public static ModuleDescriptor read(ByteBuffer bb,
25162516
* Reads the binary form of a module declaration from a byte buffer as a
25172517
* module descriptor. This method works exactly as specified by the 2-arg
25182518
* {@link #read(ByteBuffer,Supplier) read} method with the exception that a
2519-
* packager finder is not used to find additional packages when the module
2519+
* package finder is not used to find additional packages when the module
25202520
* descriptor encoded in the buffer does not indicate the set of packages.
25212521
*
25222522
* @param bb

0 commit comments

Comments
 (0)
Please sign in to comment.