Skip to content

Commit

Permalink
Change LONGEST_HTML_ENTITY_LENGTH to const
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedRejeb committed May 26, 2024
1 parent 8175b65 commit d34665d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ internal class KsoupTokenizer(
}

private companion object {
val LONGEST_HTML_ENTITY_LENGTH = "&CounterClockwiseContourIntegral;".length
const val LONGEST_HTML_ENTITY_LENGTH = "&CounterClockwiseContourIntegral;".length

/**
* Returns true if the given code point is a whitespace character.
Expand Down

0 comments on commit d34665d

Please sign in to comment.