diff --git a/akka-discovery/src/main/scala/akka/discovery/Discovery.scala b/akka-discovery/src/main/scala/akka/discovery/Discovery.scala index b47ab9d77f..974d954a4b 100644 --- a/akka-discovery/src/main/scala/akka/discovery/Discovery.scala +++ b/akka-discovery/src/main/scala/akka/discovery/Discovery.scala @@ -42,8 +42,7 @@ final class Discovery(implicit system: ExtendedActorSystem) extends Extension { /** * Create a [[ServiceDiscovery]] from configuration property. * The given `method` parameter is used to find configuration property - * "akka.discovery.[method].class" or "[method].class". `method` can also - * be a fully class name. + * "akka.discovery.[method].class". * * The `ServiceDiscovery` instance for a given `method` will be created * once and subsequent requests for the same `method` will return the same instance.