< prev index next >

src/java.base/share/classes/java/util/regex/EmojiData.java.template

Print this page

        

@@ -38,18 +38,9 @@
      *
      * @param cp code point to examine
      * @return true if {@code cp} is an extended pictographic
      */
     static boolean isExtendedPictographic(int cp) {
-        if (cp < 0x2000) {
-            return
-%%%EXTPICT_LOW%%%
-        } else {
-            return isHigh(cp);
-        }
-    }
-
-    private static boolean isHigh(int cp) {
         return
-%%%EXTPICT_HIGH%%%
+%%%EXTPICT%%%
     }
 }
< prev index next >