From 614b157a7772669afb211d9c1b4df4d02261fe06 Mon Sep 17 00:00:00 2001
From: Martin Goik <goik@hdm-stuttgart.de>
Date: Wed, 1 Jun 2016 11:20:39 +0200
Subject: [PATCH] Cosmetics

---
 Doc/Sd1/appendix.xml | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/Doc/Sd1/appendix.xml b/Doc/Sd1/appendix.xml
index c73bf4fee..5c5785ee3 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();
-- 
GitLab