diff --git a/akka-core/src/main/scala/stm/Transaction.scala b/akka-core/src/main/scala/stm/Transaction.scala index 3101ef219d..c3478c7705 100644 --- a/akka-core/src/main/scala/stm/Transaction.scala +++ b/akka-core/src/main/scala/stm/Transaction.scala @@ -49,16 +49,6 @@ trait AtomicTemplate[T] { object Transaction { val idFactory = new AtomicLong(-1L) - /** - * Creates a STM atomic transaction and by-passes all transactions hooks - * such as persistence etc. - * - * Only for internal usage. - */ - private[akka] def atomic0[T](body: => T): T = new TransactionTemplate[T]() { - def execute(mtx: MultiverseTransaction): T = body - }.execute() - /** * Module for "local" transaction management, local in the context of threads. * You should only use these if you do not need to have one transaction span