Skip to content

Commit a3e094e

Browse files
committed
8354968: Replace unicode sequences in comment text with UTF-8 characters
Reviewed-by: naoto
1 parent dd25159 commit a3e094e

File tree

153 files changed

+156
-158
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+156
-158
lines changed

src/java.base/share/classes/java/text/Collator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public abstract class Collator
138138
* Collator strength value. When set, only SECONDARY and above differences are
139139
* considered significant during comparison. The assignment of strengths
140140
* to language features is locale dependent. A common example is for
141-
* different accented forms of the same base letter ("a" vs "\u00E4") to be
141+
* different accented forms of the same base letter ("a" vs "ä" (U+00E9)) to be
142142
* considered a SECONDARY difference.
143143
* @see java.text.Collator#setStrength
144144
* @see java.text.Collator#getStrength

src/java.base/share/classes/java/text/RuleBasedCollator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ public synchronized CollationKey getCollationKey(String source)
591591
// Here's a hypothetical example, with the collation element represented as
592592
// a three-digit number, one digit for primary, one for secondary, etc.
593593
//
594-
// String: A a B \u00e9 <--(e-acute)
594+
// String: A a B é (U+00E9, e-acute)
595595
// Collation Elements: 101 100 201 510
596596
//
597597
// Collation Key: 1125<null>0001<null>1010

src/java.base/share/classes/java/util/LocaleISOData.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class LocaleISOData {
145145
+ "mt" + "mlt" // Maltese
146146
+ "my" + "mya" // Burmese
147147
+ "na" + "nau" // Nauru
148-
+ "nb" + "nob" // Norwegian Bokm\u00e5l
148+
+ "nb" + "nob" // Norwegian Bokmål
149149
+ "nd" + "nde" // North Ndebele
150150
+ "ne" + "nep" // Nepali
151151
+ "ng" + "ndo" // Ndonga
@@ -209,7 +209,7 @@ class LocaleISOData {
209209
+ "uz" + "uzb" // Uzbek
210210
+ "ve" + "ven" // Venda
211211
+ "vi" + "vie" // Vietnamese
212-
+ "vo" + "vol" // Volap\u00fck
212+
+ "vo" + "vol" // Volapük
213213
+ "wa" + "wln" // Walloon
214214
+ "wo" + "wol" // Wolof
215215
+ "xh" + "xho" // Xhosa
@@ -250,7 +250,7 @@ class LocaleISOData {
250250
+ "BH" + "BHR" // Bahrain, Kingdom of
251251
+ "BI" + "BDI" // Burundi, Republic of
252252
+ "BJ" + "BEN" // Benin, People's Republic of
253-
+ "BL" + "BLM" // Saint Barth\u00e9lemy
253+
+ "BL" + "BLM" // Saint Barthélemy
254254
+ "BM" + "BMU" // Bermuda
255255
+ "BN" + "BRN" // Brunei Darussalam
256256
+ "BO" + "BOL" // Bolivia, Plurinational State of
@@ -278,7 +278,7 @@ class LocaleISOData {
278278
// + "CS" + "SCG" // Serbia and Montenegro
279279
+ "CU" + "CUB" // Cuba, Republic of
280280
+ "CV" + "CPV" // Cape Verde, Republic of
281-
+ "CW" + "CUW" // Cura\u00e7ao
281+
+ "CW" + "CUW" // Curaçao
282282
+ "CX" + "CXR" // Christmas Island
283283
+ "CY" + "CYP" // Cyprus, Republic of
284284
+ "CZ" + "CZE" // Czech Republic

src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
* risk. This code and its internal interfaces are subject to change
6464
* or deletion without notice.</b></p>
6565
*
66-
* @author Peter von der Ah\u00e9
66+
* @author Peter von der Ahé
6767
*/
6868
public final class JavacTool implements JavaCompiler {
6969
/**

src/jdk.compiler/share/classes/com/sun/tools/javac/util/PropagatedException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* risk. This code and its internal interfaces are subject to change
3434
* or deletion without notice.</b></p>
3535
*
36-
* @author Peter von der Ah\u00e9
36+
* @author Peter von der Ahé
3737
*/
3838
public class PropagatedException extends RuntimeException {
3939

src/jdk.internal.opt/share/classes/jdk/internal/joptsimple/util/InetAddressConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
/**
6767
* Converts values to {@link java.net.InetAddress} using {@link InetAddress#getByName(String) getByName}.
6868
*
69-
* @author <a href="mailto:r@ymund.de">Raymund F\u00FCl\u00F6p</a>
69+
* @author <a href="mailto:r@ymund.de">Raymund Fülöp</a>
7070
*/
7171
public class InetAddressConverter implements ValueConverter<InetAddress> {
7272
public InetAddress convert( String value ) {

test/jdk/java/lang/Class/getEnclosingClass/EnclosingClass.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
/*
2525
*
2626
* @summary Check getEnclosingClass and other methods
27-
* @author Peter von der Ah\u00e9
27+
* @author Peter von der Ahé
2828
*
2929
* a) Top level classes
3030
* b) Nested classes (static member classes)

test/jdk/java/lang/Class/getEnclosingClass/EnclosingClassTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* @modules jdk.compiler
2929
* @run testng/othervm EnclosingClassTest
3030
* @summary Check getEnclosingClass and other methods
31-
* @author Peter von der Ah\u00e9
31+
* @author Peter von der Ahé
3232
*/
3333

3434
import java.io.BufferedReader;
@@ -206,4 +206,3 @@ private void test(Object tests) {
206206
}
207207
}
208208
}
209-

test/jdk/java/lang/Class/getEnclosingClass/common/TestMe.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
/*
2525
* @summary Check getEnclosingClass and other methods
26-
* @author Peter von der Ah\u00e9
26+
* @author Peter von der Ahé
2727
*/
2828

2929
package common;

test/jdk/java/util/Collections/T5078378.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* @test
2626
* @bug 5078378
2727
* @summary REGRESSION: Some calls to Collections.binarySearch no longer compile
28-
* @author Peter von der Ah\u00e9
28+
* @author Peter von der Ahé
2929
*
3030
* @compile T5078378.java
3131
* @compile/fail -Xlint:unchecked -Werror T5078378.java

0 commit comments

Comments
 (0)