mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8284893: Fix typos in java.base
Reviewed-by: iris, wetmore, lancea, mullan, naoto
This commit is contained in:
parent
4594696f54
commit
fb469fb894
162 changed files with 369 additions and 369 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1996, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -405,7 +405,7 @@ public class ChoiceFormat extends NumberFormat {
|
|||
int i;
|
||||
for (i = 0; i < choiceLimits.length; ++i) {
|
||||
if (!(number >= choiceLimits[i])) {
|
||||
// same as number < choiceLimits, except catchs NaN
|
||||
// same as number < choiceLimits, except catches NaN
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -464,7 +464,7 @@ public class ChoiceFormat extends NumberFormat {
|
|||
* {@link Math#nextUp(double) Math.nextUp(d)}
|
||||
*
|
||||
* @param d the reference value
|
||||
* @return the least double value greather than {@code d}
|
||||
* @return the least double value greater than {@code d}
|
||||
* @see #previousDouble
|
||||
*/
|
||||
public static final double nextDouble (double d) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue