Skip to content

Commit 08d5d31

Browse files
committed
Update StreamReadConstraints.java
1 parent 5809486 commit 08d5d31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/fasterxml/jackson/core/StreamReadConstraints.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ public void validateDocumentLength(long len) throws StreamConstraintsException
511511
*/
512512
public void validateTokenCount(long count) throws StreamConstraintsException
513513
{
514-
// for performance, it is assumed that users check hasMaxTokenCount()
514+
// for performance reasons, it is assumed that users check hasMaxTokenCount()
515515
// before calling this method - this method will not work properly if hasMaxTokenCount() is false
516516
if (count > _maxTokenCount) {
517517
throw _constructException(

0 commit comments

Comments
 (0)