mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8317471: ListFormat::parseObject() spec can be improved on parsePosition valid values
Reviewed-by: iris, lancea, joehw, mli
This commit is contained in:
parent
a07a4a3a59
commit
1f06325142
1 changed files with 2 additions and 0 deletions
|
@ -416,6 +416,8 @@ public final class ListFormat extends Format {
|
|||
* @return A list of string parsed from the {@code source}.
|
||||
* In case of error, returns null.
|
||||
* @throws NullPointerException if {@code source} or {@code parsePos} is null.
|
||||
* @throws IndexOutOfBoundsException if the starting index given by
|
||||
* {@code parsePos} is outside {@code source}.
|
||||
*/
|
||||
@Override
|
||||
public Object parseObject(String source, ParsePosition parsePos) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue