Merge pull request #162 from xuwei-k/adapted-args

fix adapted argument warning
This commit is contained in:
eugene yokota 2018-06-13 11:53:44 -04:00 committed by GitHub
commit 8dbe9204d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class PlainInput[J: IsoString](input: InputStream, converter: SupportConverter[J
val isoFormat: IsoString[J] = implicitly
private def readFully(): String = {
Using.streamReader(input, IO.utf8) { reader =>
Using.streamReader((input, IO.utf8)) { reader =>
val builder = new StringBuilder()
val bufferSize = 1024
val buffer = new Array[Char](bufferSize)