Skip to content

Commit

Permalink
Improved fix for eclipse-jdt#2703 (eclipse-jdt#2705)
Browse files Browse the repository at this point in the history
  • Loading branch information
srikanth-sankaran authored Jul 11, 2024
1 parent f560575 commit fda3d22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3433,7 +3433,7 @@ else if ((data[index] == 'o')
case 3 :
if ((data[++index] == 'e') && (data[++index] == 'w'))
return TokenNamenew;
else if (data == this.source && data.length > 10 // "non-sealed".length(); not handling unicode as of now in non-sealed
else if (data == this.source && (data.length >= index + 10) // "non-sealed".length(); not handling unicode as of now in non-sealed
&& (data[index] == 'o')
&& (data[++index] == 'n')
&& (data[++index] == '-')
Expand Down

0 comments on commit fda3d22

Please sign in to comment.