src/share/classes/java/util/regex/Pattern.java
Print this page
@@ -3959,11 +3959,11 @@
/**
* Node class for a case sensitive/BMP-only sequence of literal
* characters.
*/
- static final class Slice extends SliceNode {
+ static class Slice extends SliceNode {
Slice(int[] buf) {
super(buf);
}
boolean match(Matcher matcher, int i, CharSequence seq) {
int[] buf = buffer;
@@ -4032,11 +4032,11 @@
/**
* Node class for a case sensitive sequence of literal characters
* including supplementary characters.
*/
- static final class SliceS extends SliceNode {
+ static final class SliceS extends Slice {
SliceS(int[] buf) {
super(buf);
}
boolean match(Matcher matcher, int i, CharSequence seq) {
int[] buf = buffer;