From b6369ba90745057067eafc6d44d2b402b4e826b6 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Tue, 25 Jul 2017 09:56:35 +0200 Subject: Also remove method declaration. --- messagebus/src/vespa/messagebus/protocolrepository.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'messagebus') diff --git a/messagebus/src/vespa/messagebus/protocolrepository.h b/messagebus/src/vespa/messagebus/protocolrepository.h index 52cd31364c1..d04fd361f3a 100644 --- a/messagebus/src/vespa/messagebus/protocolrepository.h +++ b/messagebus/src/vespa/messagebus/protocolrepository.h @@ -42,16 +42,6 @@ public: */ IProtocol::SP putProtocol(const IProtocol::SP & protocol); - /** - * Returns whether or not this repository contains a protocol with the given name. Given the concurrent - * nature of things, one should not invoke this method followed by {@link #getProtocol(String)} and expect - * the return value to be non-null. Instead just get the protocol and compare it to null. - * - * @param name The name to check for. - * @return True if the named protocol is registered. - */ - bool hasProtocol(const string &name) const; - /** * Returns the protocol whose name matches the given argument. This method will return null if no such * protocol has been registered. -- cgit v1.2.3