Skip to content

Commit 08dd4a7

Browse files
committed
8354273: Replace even more Unicode characters with ASCII
Reviewed-by: naoto
1 parent 9c43871 commit 08dd4a7

File tree

8 files changed

+10
-11
lines changed

8 files changed

+10
-11
lines changed

src/java.xml/share/legal/xhtml11.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The notice is:
4747
"Copyright © 2023 W3C®. This software or document includes material copied from
4848
or derived from [title and URI of the W3C document]."
4949

50-
Disclaimers §anchor
50+
Disclaimers
5151

5252
THIS DOCUMENT IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS
5353
OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF

src/java.xml/share/legal/xmlxsd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ modifications:
2626
[$year-of-document] World Wide Web Consortium.
2727
https://www.w3.org/copyright/software-license-2023/"
2828

29-
Disclaimers §anchor
29+
Disclaimers
3030

3131
THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR
3232
WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF

test/jdk/java/awt/geom/Path2D/GetBounds2DPrecisionTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ private static String toUniformString(double value) {
189189
int DIGIT_COUNT = 40;
190190
String str = decimal.toPlainString();
191191
if (str.length() >= DIGIT_COUNT) {
192-
str = str.substring(0,DIGIT_COUNT-1)+"";
192+
str = str.substring(0,DIGIT_COUNT-1)+"...";
193193
}
194194
while(str.length() < DIGIT_COUNT) {
195195
str = str + " ";
@@ -260,4 +260,4 @@ private static int solveQuadratic(BigDecimal[] eqn, BigDecimal[] res) {
260260
}
261261
return roots;
262262
}
263-
}
263+
}

test/jdk/java/awt/im/PinyinIMCapsTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public class PinyinIMCapsTest {
4747
4848
Test settings:
4949
Go to "System Preferences -> Keyboard -> Input Sources" and
50-
add "Pinyin Traditional" or "Pinyin Simplified" IM from Chinese language group.
50+
add "Pinyin - Traditional" or "Pinyin - Simplified" IM from Chinese language group.
5151
Set current IM to "Pinyin".
5252
5353
1. Set focus to the text field shown below and press Caps Lock key on the keyboard.
@@ -79,4 +79,3 @@ private static JComponent createUI() {
7979
return panel;
8080
}
8181
}
82-

test/jdk/java/awt/im/PinyinIMCommaTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ with Pinyin input method (IM).
4444
4545
Test settings:
4646
Go to "System Preferences -> Keyboard -> Input Sources" and
47-
add "Pinyin Traditional" or "Pinyin Simplified" IM from Chinese language group.
47+
add "Pinyin - Traditional" or "Pinyin - Simplified" IM from Chinese language group.
4848
Set current IM to "Pinyin".
4949
5050
1. Set focus to the text field below and press "comma" character

test/jdk/java/awt/im/PinyinIMFullstopTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ with Pinyin input method (IM).
4343
4444
Test settings:
4545
Go to "System Preferences -> Keyboard -> Input Sources" and
46-
add "Pinyin Traditional" or "Pinyin Simplified" IM from Chinese language group.
46+
add "Pinyin - Traditional" or "Pinyin - Simplified" IM from Chinese language group.
4747
Set current IM to "Pinyin".
4848
4949
1. Set focus to the text area below and press "dot" character

test/jdk/java/util/Currency/ValidateISO4217.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
/**
9090
* This class tests the latest ISO 4217 data and Java's currency data which is
9191
* based on ISO 4217. The golden-data file, 'ISO4217-list-one.txt', based on the
92-
* List one: Currency, fund and precious metal codes has the following
92+
* "List one: Currency, fund and precious metal codes" has the following
9393
* 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>]
9494
* The Cutover Date is given in SimpleDateFormat's 'yyyy-MM-dd-HH-mm-ss' format in the GMT time zone.
9595
*/

test/jdk/java/util/stream/GathererTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,11 @@ void combine(InvocationTracker other) {
106106
}
107107

108108
final Gatherer<Integer,Void,Integer> addOne = Gatherer.of(
109-
Gatherer.Integrator.<Void,Integer,Integer>ofGreedy((vöid, element, downstream) -> downstream.push(element + 1))
109+
Gatherer.Integrator.<Void,Integer,Integer>ofGreedy((void_state, element, downstream) -> downstream.push(element + 1))
110110
);
111111

112112
final Gatherer<Integer,Void,Integer> timesTwo = Gatherer.of(
113-
Gatherer.Integrator.<Void,Integer,Integer>ofGreedy((vöid, element, downstream) -> downstream.push(element * 2))
113+
Gatherer.Integrator.<Void,Integer,Integer>ofGreedy((void_state, element, downstream) -> downstream.push(element * 2))
114114
);
115115

116116
@ParameterizedTest

0 commit comments

Comments
 (0)