File tree 1 file changed +18
-14
lines changed
1 file changed +18
-14
lines changed Original file line number Diff line number Diff line change 25
25
26
26
package java .lang ;
27
27
28
+ import org .cprover .CProver ;
29
+
28
30
import java .util .Arrays ;
29
31
import java .util .Map ;
30
32
import java .util .HashMap ;
@@ -7217,19 +7219,21 @@ public static char reverseBytes(char ch) {
7217
7219
* @since 1.7
7218
7220
*/
7219
7221
public static String getName (int codePoint ) {
7220
- if (!isValidCodePoint (codePoint )) {
7221
- throw new IllegalArgumentException ();
7222
- }
7223
- String name = CharacterName .get (codePoint );
7224
- if (name != null )
7225
- return name ;
7226
- if (getType (codePoint ) == UNASSIGNED )
7227
- return null ;
7228
- UnicodeBlock block = UnicodeBlock .of (codePoint );
7229
- if (block != null )
7230
- return block .toString ().replace ('_' , ' ' ) + " "
7231
- + Integer .toHexString (codePoint ).toUpperCase (Locale .ENGLISH );
7232
- // should never come here
7233
- return Integer .toHexString (codePoint ).toUpperCase (Locale .ENGLISH );
7222
+ // if (!isValidCodePoint(codePoint)) {
7223
+ // throw new IllegalArgumentException();
7224
+ // }
7225
+ // String name = CharacterName.get(codePoint);
7226
+ // if (name != null)
7227
+ // return name;
7228
+ // if (getType(codePoint) == UNASSIGNED)
7229
+ // return null;
7230
+ // UnicodeBlock block = UnicodeBlock.of(codePoint);
7231
+ // if (block != null)
7232
+ // return block.toString().replace('_', ' ') + " "
7233
+ // + Integer.toHexString(codePoint).toUpperCase(Locale.ENGLISH);
7234
+ // // should never come here
7235
+ // return Integer.toHexString(codePoint).toUpperCase(Locale.ENGLISH);
7236
+ CProver .notModelled ();
7237
+ return CProver .nondetWithoutNullForNotModelled ();
7234
7238
}
7235
7239
}
You can’t perform that action at this time.
0 commit comments