diff options
Diffstat (limited to 'src/main/scala/spray/json/CompactPrinter.scala')
-rw-r--r-- | src/main/scala/spray/json/CompactPrinter.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/spray/json/CompactPrinter.scala b/src/main/scala/spray/json/CompactPrinter.scala index eca616f..a51583d 100644 --- a/src/main/scala/spray/json/CompactPrinter.scala +++ b/src/main/scala/spray/json/CompactPrinter.scala @@ -41,7 +41,7 @@ trait CompactPrinter extends JsonPrinter { sb.append('}') } - protected def printArray(elements: List[JsValue], sb: StringBuilder) { + protected def printArray(elements: Seq[JsValue], sb: StringBuilder) { sb.append('[') printSeq(elements, sb.append(','))(print(_, sb)) sb.append(']') |