format source with scalafmt

This commit is contained in:
Auto Format 2019-03-11 10:38:24 +01:00 committed by Patrik Nordwall
parent 0f40491d42
commit ce404e4f53
1669 changed files with 43208 additions and 35404 deletions

View file

@ -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)!""")