From 18a7d14cf3c27f4a3f9dc39ab1012ffd2584f6b5 Mon Sep 17 00:00:00 2001 From: Lucas Nelaupe Date: Mon, 8 Jun 2020 22:37:25 +0800 Subject: [PATCH] Remove JobCount method that is using a deprecated method --- Sources/SwiftQueue/SwiftQueueManager.swift | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Sources/SwiftQueue/SwiftQueueManager.swift b/Sources/SwiftQueue/SwiftQueueManager.swift index 4c0dde8f..5e4dd289 100644 --- a/Sources/SwiftQueue/SwiftQueueManager.swift +++ b/Sources/SwiftQueue/SwiftQueueManager.swift @@ -112,16 +112,6 @@ public extension SwiftQueueManager { return manage.values.count } - /// number of jobs for all queues - /// TODO remove this method - func jobCount() -> Int { - var count = 0 - for element in manage.values { - count += element.operationCount - } - return count - } - /// Return queues UUID with the list of Jobs inside func getAll() -> [String: [JobInfo]] { var result = [String: [JobInfo]]()