Skip to content

Commit 269c2ac

Browse files
committed
refactor: rename
1 parent 2262bf3 commit 269c2ac

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/main/kotlin/spp/protocol/service/LiveInstrumentService.kt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import java.time.Instant
3939
*/
4040
@ProxyGen
4141
@VertxGen
42-
@Suppress("TooManyFunctions") // public API
42+
@Suppress("TooManyFunctions", "unused") // public API
4343
interface LiveInstrumentService {
4444

4545
@GenIgnore
@@ -168,13 +168,7 @@ interface LiveInstrumentService {
168168
return getLiveInstrument(id, false)
169169
}
170170

171-
@GenIgnore
172-
fun getLiveInstrument(id: String, includeArchive: Boolean): Future<LiveInstrument?> {
173-
return getLiveInstrumentById(id, includeArchive)
174-
}
175-
176-
@Deprecated("use getLiveInstrument", ReplaceWith("getLiveInstrument(id)"))
177-
fun getLiveInstrumentById(id: String, includeArchive: Boolean): Future<LiveInstrument?>
171+
fun getLiveInstrument(id: String, includeArchive: Boolean): Future<LiveInstrument?>
178172
fun getLiveInstrumentsByIds(ids: List<String>): Future<List<LiveInstrument>>
179173
fun getLiveInstrumentsByLocation(location: LiveSourceLocation): Future<List<LiveInstrument>>
180174

0 commit comments

Comments
 (0)