Minor: auto-format of module: webserver

This commit is contained in:
Mike Hearn
2017-04-11 12:54:37 +02:00
parent 4d6d4c167e
commit e62250ff7b
4 changed files with 10 additions and 10 deletions

View File

@ -7,7 +7,7 @@ import javax.ws.rs.ext.Provider
// Provides basic exception logging to all APIs
@Provider
class AllExceptionMapper: ExceptionMapper<Exception> {
class AllExceptionMapper : ExceptionMapper<Exception> {
companion object {
val logger = loggerFor<APIServerImpl>()
}

View File

@ -11,7 +11,7 @@ import javax.servlet.http.HttpServletResponse
/**
* Uploads to the node via the [CordaRPCOps] uploadFile interface.
*/
class DataUploadServlet: HttpServlet() {
class DataUploadServlet : HttpServlet() {
private val log = loggerFor<DataUploadServlet>()
override fun doPost(req: HttpServletRequest, resp: HttpServletResponse) {