Unverified Commit c34c5440 authored by david-perez's avatar david-perez Committed by GitHub
Browse files

Make two functions private in `HttpBoundProtocolGenerator.kt` (#1254)

parent 62271205
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -149,7 +149,7 @@ class HttpBoundProtocolTraitImplGenerator(
        )
    }

    fun parseError(operationShape: OperationShape): RuntimeType {
    private fun parseError(operationShape: OperationShape): RuntimeType {
        val fnName = "parse_${operationShape.id.name.toSnakeCase()}_error"
        val outputShape = operationShape.outputShape(model)
        val outputSymbol = symbolProvider.toSymbol(outputShape)
@@ -247,7 +247,7 @@ class HttpBoundProtocolTraitImplGenerator(
        }
    }

    fun parseResponse(operationShape: OperationShape): RuntimeType {
    private fun parseResponse(operationShape: OperationShape): RuntimeType {
        val fnName = "parse_${operationShape.id.name.toSnakeCase()}_response"
        val outputShape = operationShape.outputShape(model)
        val outputSymbol = symbolProvider.toSymbol(outputShape)