Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
persidskiy committed Oct 14, 2024
1 parent c1c75f1 commit 5bab4cb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions Sources/MapboxMaps/Annotations/AnnotationManagerImpl.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ protocol AnnotationManagerImplDelegate: AnyObject {
}

protocol AnnotationManagerImplProtocol {
var allLayerIds: [String] { get }

func destroy()
}

Expand Down Expand Up @@ -45,7 +43,6 @@ final class AnnotationManagerImpl<AnnotationType: Annotation & AnnotationInterna

private var dragId: String { "\(id)_drag" }
private var clusterId: String?
var allLayerIds: [String] { [id, dragId, clusterId].compactMap { $0 } }

// Private state

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ internal final class MockAnnotationManager: AnnotationManagerImplProtocol {

@Stubbed var id: String = ""

@Stubbed var allLayerIds: [String] = []

let destroyStub = Stub<Void, Void>()
func destroy() {
destroyStub()
Expand Down

0 comments on commit 5bab4cb

Please sign in to comment.