< prev index next >
make/data/characterdata/CharacterDataLatin1.java.template
Print this page
rev 59210 : imported patch 8239383
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2020, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -131,18 +131,16 @@
int props = getProperties(ch);
return ((props & $$nonzeroJavaPart) != 0);
}
boolean isUnicodeIdentifierStart(int ch) {
- return (getPropertiesEx(ch) & $$maskIDStart) != 0 ||
- ch == 0x2E2F;
+ return (getPropertiesEx(ch) & $$maskIDStart) != 0;
}
boolean isUnicodeIdentifierPart(int ch) {
return (getPropertiesEx(ch) & $$maskIDContinue) != 0 ||
- isIdentifierIgnorable(ch) ||
- ch == 0x2E2F;
+ isIdentifierIgnorable(ch);
}
boolean isIdentifierIgnorable(int ch) {
int props = getProperties(ch);
return ((props & $$maskIdentifierInfo) == $$valueIgnorable);
< prev index next >