From ccd386b7db9682dbbc62d998f8106aab2f96b0fd Mon Sep 17 00:00:00 2001 From: Johannes Weiss Date: Wed, 13 Mar 2019 18:02:26 +0000 Subject: [PATCH] remove deprecated methods (#892) Motivation: There were some deprecated methods left on EventLoop. Modifications: remove them Result: - fixes #779 --- Sources/NIO/EventLoop.swift | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Sources/NIO/EventLoop.swift b/Sources/NIO/EventLoop.swift index 5724632c1..23dbb4e77 100644 --- a/Sources/NIO/EventLoop.swift +++ b/Sources/NIO/EventLoop.swift @@ -532,20 +532,6 @@ extension EventLoop { } } -// to be removed before 2.0 -extension EventLoop { - @available(*, deprecated, renamed: "makeFailedFuture(_:)") - public func makeFailedFuture(error: Error) -> EventLoopFuture { - return self.makeFailedFuture(error) - } - - @available(*, deprecated, renamed: "makeSucceededFuture(_:)") - public func makeSucceededFuture(result: Success) -> EventLoopFuture { - return self.makeSucceededFuture(result) - } - -} - /// Internal representation of a `Registration` to an `Selector`. /// /// Whenever a `Selectable` is registered to a `Selector` a `Registration` is created internally that is also provided within the