mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8354273: Replace even more Unicode characters with ASCII
Reviewed-by: naoto
This commit is contained in:
parent
9c43871fd1
commit
08dd4a75c5
@ -47,7 +47,7 @@ The notice is:
|
||||
"Copyright © 2023 W3C®. This software or document includes material copied from
|
||||
or derived from [title and URI of the W3C document]."
|
||||
|
||||
Disclaimers §anchor
|
||||
Disclaimers
|
||||
|
||||
THIS DOCUMENT IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS
|
||||
OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF
|
||||
|
||||
@ -26,7 +26,7 @@ modifications:
|
||||
[$year-of-document] World Wide Web Consortium.
|
||||
https://www.w3.org/copyright/software-license-2023/"
|
||||
|
||||
Disclaimers §anchor
|
||||
Disclaimers
|
||||
|
||||
THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR
|
||||
WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF
|
||||
|
||||
@ -189,7 +189,7 @@ public class GetBounds2DPrecisionTest {
|
||||
int DIGIT_COUNT = 40;
|
||||
String str = decimal.toPlainString();
|
||||
if (str.length() >= DIGIT_COUNT) {
|
||||
str = str.substring(0,DIGIT_COUNT-1)+"…";
|
||||
str = str.substring(0,DIGIT_COUNT-1)+"...";
|
||||
}
|
||||
while(str.length() < DIGIT_COUNT) {
|
||||
str = str + " ";
|
||||
@ -260,4 +260,4 @@ public class GetBounds2DPrecisionTest {
|
||||
}
|
||||
return roots;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -47,7 +47,7 @@ public class PinyinIMCapsTest {
|
||||
|
||||
Test settings:
|
||||
Go to "System Preferences -> Keyboard -> Input Sources" and
|
||||
add "Pinyin – Traditional" or "Pinyin – Simplified" IM from Chinese language group.
|
||||
add "Pinyin - Traditional" or "Pinyin - Simplified" IM from Chinese language group.
|
||||
Set current IM to "Pinyin".
|
||||
|
||||
1. Set focus to the text field shown below and press Caps Lock key on the keyboard.
|
||||
@ -79,4 +79,3 @@ public class PinyinIMCapsTest {
|
||||
return panel;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -44,7 +44,7 @@ public class PinyinIMCommaTest {
|
||||
|
||||
Test settings:
|
||||
Go to "System Preferences -> Keyboard -> Input Sources" and
|
||||
add "Pinyin – Traditional" or "Pinyin – Simplified" IM from Chinese language group.
|
||||
add "Pinyin - Traditional" or "Pinyin - Simplified" IM from Chinese language group.
|
||||
Set current IM to "Pinyin".
|
||||
|
||||
1. Set focus to the text field below and press "comma" character
|
||||
|
||||
@ -43,7 +43,7 @@ public class PinyinIMFullstopTest {
|
||||
|
||||
Test settings:
|
||||
Go to "System Preferences -> Keyboard -> Input Sources" and
|
||||
add "Pinyin – Traditional" or "Pinyin – Simplified" IM from Chinese language group.
|
||||
add "Pinyin - Traditional" or "Pinyin - Simplified" IM from Chinese language group.
|
||||
Set current IM to "Pinyin".
|
||||
|
||||
1. Set focus to the text area below and press "dot" character
|
||||
|
||||
@ -89,7 +89,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
/**
|
||||
* This class tests the latest ISO 4217 data and Java's currency data which is
|
||||
* based on ISO 4217. The golden-data file, 'ISO4217-list-one.txt', based on the
|
||||
* “List one: Currency, fund and precious metal codes” has the following
|
||||
* "List one: Currency, fund and precious metal codes" has the following
|
||||
* format: <Country code>\t<Currency code>\t<Numeric code>\t<Minor unit>[\t<Cutover Date>\t<new Currency code>\t<new Numeric code>\t<new Minor unit>]
|
||||
* The Cutover Date is given in SimpleDateFormat's 'yyyy-MM-dd-HH-mm-ss' format in the GMT time zone.
|
||||
*/
|
||||
|
||||
@ -106,11 +106,11 @@ public class GathererTest {
|
||||
}
|
||||
|
||||
final Gatherer<Integer,Void,Integer> addOne = Gatherer.of(
|
||||
Gatherer.Integrator.<Void,Integer,Integer>ofGreedy((vöid, element, downstream) -> downstream.push(element + 1))
|
||||
Gatherer.Integrator.<Void,Integer,Integer>ofGreedy((void_state, element, downstream) -> downstream.push(element + 1))
|
||||
);
|
||||
|
||||
final Gatherer<Integer,Void,Integer> timesTwo = Gatherer.of(
|
||||
Gatherer.Integrator.<Void,Integer,Integer>ofGreedy((vöid, element, downstream) -> downstream.push(element * 2))
|
||||
Gatherer.Integrator.<Void,Integer,Integer>ofGreedy((void_state, element, downstream) -> downstream.push(element * 2))
|
||||
);
|
||||
|
||||
@ParameterizedTest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user