Collapse 1-line scaladocs

This commit is contained in:
Dale Wijnand
2018-03-15 12:55:20 +00:00
parent 087f21741d
commit de690f4e41
2 changed files with 7 additions and 23 deletions
@@ -41,10 +41,7 @@ object Serialization {
CompactPrinter(json).getBytes("UTF-8")
}
/**
* This formats the message according to JSON-RPC.
* http://www.jsonrpc.org/specification
*/
/** This formats the message according to JSON-RPC. http://www.jsonrpc.org/specification */
private[sbt] def serializeResponseMessage(message: JsonRpcResponseMessage): Array[Byte] = {
import sbt.internal.protocol.codec.JsonRPCProtocol._
val json: JValue = Converter.toJson[JsonRpcResponseMessage](message).get
@@ -57,10 +54,7 @@ object Serialization {
body).getBytes("UTF-8")
}
/**
* This formats the message according to JSON-RPC.
* http://www.jsonrpc.org/specification
*/
/** This formats the message according to JSON-RPC. http://www.jsonrpc.org/specification */
private[sbt] def serializeNotificationMessage(
message: JsonRpcNotificationMessage): Array[Byte] = {
import sbt.internal.protocol.codec.JsonRPCProtocol._