diff --git a/akka-docs/rst/java/code/docs/pattern/JavaTemplate.java b/akka-docs/rst/java/code/docs/pattern/JavaTemplate.java deleted file mode 100644 index a2e6f2e402..0000000000 --- a/akka-docs/rst/java/code/docs/pattern/JavaTemplate.java +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Copyright (C) 2009-2016 Lightbend Inc. - */ - -package docs.pattern; - -// this part will not appear in the docs - -//#all-of-it -class JavaTemplate { - public JavaTemplate() { - System.out.println("Hello, Template!"); - } - //#uninteresting-stuff - // don’t show this plumbimg - //#uninteresting-stuff -} -//#all-of-it diff --git a/akka-docs/rst/java/howto.rst b/akka-docs/rst/java/howto.rst index 6173f20b6f..cee355bb9d 100644 --- a/akka-docs/rst/java/howto.rst +++ b/akka-docs/rst/java/howto.rst @@ -85,19 +85,3 @@ Finally we are able to execute an actor and receive the results or exceptions. .. includecode:: code/docs/pattern/SupervisedAskSpec.java -Template Pattern -================ - -*Contributed by: N. N.* - -This is an especially nice pattern, since it does even come with some empty example code: - -.. includecode:: code/docs/pattern/JavaTemplate.java - :include: all-of-it - :exclude: uninteresting-stuff - -.. note:: - - Spread the word: this is the easiest way to get famous! - -Please keep this pattern at the end of this file. diff --git a/akka-docs/rst/scala/code/docs/pattern/ScalaTemplate.scala b/akka-docs/rst/scala/code/docs/pattern/ScalaTemplate.scala deleted file mode 100644 index e497daf861..0000000000 --- a/akka-docs/rst/scala/code/docs/pattern/ScalaTemplate.scala +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Copyright (C) 2009-2016 Lightbend Inc. - */ - -package docs.pattern - -// this part will not appear in the docs - -//#all-of-it -class ScalaTemplate { - println("Hello, Template!") - //#uninteresting-stuff - // don’t show this plumbimg - //#uninteresting-stuff -} -//#all-of-it diff --git a/akka-docs/rst/scala/howto.rst b/akka-docs/rst/scala/howto.rst index 4e53762784..9628770593 100644 --- a/akka-docs/rst/scala/howto.rst +++ b/akka-docs/rst/scala/howto.rst @@ -155,19 +155,3 @@ and schedule the initial message send again. .. includecode:: code/docs/pattern/SchedulerPatternSpec.scala#schedule-receive -Template Pattern -================ - -*Contributed by: N. N.* - -This is an especially nice pattern, since it does even come with some empty example code: - -.. includecode:: code/docs/pattern/ScalaTemplate.scala - :include: all-of-it - :exclude: uninteresting-stuff - -.. note:: - - Spread the word: this is the easiest way to get famous! - -Please keep this pattern at the end of this file.