From 3a0f8bbb2be89a3fb7dd6602124fbaa2bbeef8f4 Mon Sep 17 00:00:00 2001 From: theapache64 Date: Mon, 18 Oct 2021 01:07:26 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20ktlint=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../github/theapache64/retrosheet/sample/notes/Notes.kt | 3 --- .../theapache64/retrosheet/sample/notes/NotesApi.kt | 8 -------- 2 files changed, 11 deletions(-) delete mode 100644 src/main/kotlin/com/github/theapache64/retrosheet/sample/notes/NotesApi.kt diff --git a/src/main/kotlin/com/github/theapache64/retrosheet/sample/notes/Notes.kt b/src/main/kotlin/com/github/theapache64/retrosheet/sample/notes/Notes.kt index 0b425bd..8c8191a 100644 --- a/src/main/kotlin/com/github/theapache64/retrosheet/sample/notes/Notes.kt +++ b/src/main/kotlin/com/github/theapache64/retrosheet/sample/notes/Notes.kt @@ -32,12 +32,10 @@ object Notes { @GET(SHEET_NAME) // sheet name suspend fun getNotes(): List - @Write @POST(ADD_NOTE_ENDPOINT) // form name suspend fun addNote(@Body addNoteRequest: AddNoteRequest): AddNoteRequest - /** * To test failure scenario. */ @@ -51,7 +49,6 @@ object Notes { @Write @POST("invalid_sheet") // form name suspend fun addNoteToInvalidSheet(@Body addNoteRequest: AddNoteRequest): AddNoteRequest - } fun createApi(): NotesApi { diff --git a/src/main/kotlin/com/github/theapache64/retrosheet/sample/notes/NotesApi.kt b/src/main/kotlin/com/github/theapache64/retrosheet/sample/notes/NotesApi.kt deleted file mode 100644 index c43dcc8..0000000 --- a/src/main/kotlin/com/github/theapache64/retrosheet/sample/notes/NotesApi.kt +++ /dev/null @@ -1,8 +0,0 @@ -package com.github.theapache64.retrosheet.sample.notes - -import com.github.theapache64.retrosheet.annotations.Read -import com.github.theapache64.retrosheet.annotations.Write -import retrofit2.http.Body -import retrofit2.http.GET -import retrofit2.http.POST -