format source with scalafmt
This commit is contained in:
parent
0f40491d42
commit
ce404e4f53
1669 changed files with 43208 additions and 35404 deletions
|
|
@ -101,8 +101,7 @@ import scala.annotation.switch
|
|||
private def seekObject(): Boolean = {
|
||||
completedObject = false
|
||||
val bufSize = buffer.size
|
||||
while (pos != -1 && (pos < bufSize && pos < maximumObjectLength) && !completedObject)
|
||||
proceed(buffer(pos))
|
||||
while (pos != -1 && (pos < bufSize && pos < maximumObjectLength) && !completedObject) proceed(buffer(pos))
|
||||
|
||||
if (pos >= maximumObjectLength)
|
||||
throw new FramingException(s"""JSON element exceeded maximumObjectLength ($maximumObjectLength bytes)!""")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue