diff --git a/Doc/Sd1/appendix.xml b/Doc/Sd1/appendix.xml
index c73bf4feefde63adcb7188c71a43b1d47cdba3f6..5c5785ee3051e81926a1e26e723e2584c5e4889d 100644
--- a/Doc/Sd1/appendix.xml
+++ b/Doc/Sd1/appendix.xml
@@ -500,10 +500,13 @@ The red cross acts worldwide</programlisting>
             which captures the output to compare it with the expected string
             value <code>"Hello World!"</code>. Following <uri
             xlink:href="http://stackoverflow.com/questions/1119385/junit-test-for-system-out-println">http://stackoverflow.com/questions/1119385/junit-test-for-system-out-println</uri>
-            we redefine the standard output stream by an private instance of
+            we redefine the standard output stream by a private instance of
             <classname
             xlink:href="https://docs.oracle.com/javase/8/docs/api/java/io/ByteArrayOutputStream.html">java.io.ByteArrayOutputStream</classname>.
-            Due to <productname>Junit</productname>'s @Before and @After
+            Due to <productname>Junit</productname>'s <classname
+            xlink:href="http://junit.sourceforge.net/javadoc/org/junit/Before.html">@Before</classname>
+            and <classname
+            xlink:href="http://junit.sourceforge.net/javadoc/org/junit/After.html">@After</classname>
             annotations this instance replaces <classname
             xlink:href="https://docs.oracle.com/javase/8/docs/api/java/lang/System.html#out">System.out</classname>
             during our tests:</para>
@@ -522,12 +525,12 @@ import org.junit.Test;
 public class AppTest {
    private final ByteArrayOutputStream outContent = new ByteArrayOutputStream();
 
-   @Before
+   <classname xlink:href="http://junit.sourceforge.net/javadoc/org/junit/Before.html">@Before</classname>
    public void setUpStreams() {
        System.setOut(new PrintStream(outContent));
    }
 
-   @After
+   <classname xlink:href="http://junit.sourceforge.net/javadoc/org/junit/After.html">@After</classname>
    public void cleanUpStreams() {
        System.setOut(null);
        outContent.reset();