mirror of
https://github.com/sbt/sbt.git
synced 2026-09-02 02:57:21 +02:00
Collapse 1-line scaladocs
This commit is contained in:
@@ -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._
|
||||
|
||||
Reference in New Issue
Block a user