From 909419901188181a2f0b2b3f0cc0faeee31d2f7f Mon Sep 17 00:00:00 2001 From: Viktor Klang Date: Tue, 14 Aug 2012 10:27:18 +0200 Subject: [PATCH] Clarifying that Props is immutable --- akka-actor/src/main/scala/akka/actor/Props.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/akka-actor/src/main/scala/akka/actor/Props.scala b/akka-actor/src/main/scala/akka/actor/Props.scala index 0b6b94526f..637877dd66 100644 --- a/akka-actor/src/main/scala/akka/actor/Props.scala +++ b/akka-actor/src/main/scala/akka/actor/Props.scala @@ -15,7 +15,7 @@ import akka.util.Reflect /** * Factory for Props instances. * - * Props is a ActorRef configuration object, that is thread safe and fully sharable. + * Props is a ActorRef configuration object, that is immutable, so it is thread safe and fully sharable. * * Used when creating new actors through; ActorSystem.actorOf and ActorContext.actorOf. */ @@ -82,7 +82,7 @@ object Props { } /** - * Props is a ActorRef configuration object, that is thread safe and fully sharable. + * Props is a ActorRef configuration object, that is immutable, so it is thread safe and fully sharable. * Used when creating new actors through; ActorSystem.actorOf and ActorContext.actorOf. * * In case of providing code which creates the actual Actor instance, that must not return the same instance multiple times.