From a95ed91a0a756233329dfad18b41b22cadff7073 Mon Sep 17 00:00:00 2001 From: "Dr. Martin Goik" <goik@hdm-stuttgart.de> Date: Thu, 21 May 2020 16:25:28 +0200 Subject: [PATCH] Cosmetics --- Doc/Sd1/statements.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Doc/Sd1/statements.xml b/Doc/Sd1/statements.xml index 6ca17a1a9..feccfc98f 100644 --- a/Doc/Sd1/statements.xml +++ b/Doc/Sd1/statements.xml @@ -2899,7 +2899,7 @@ System.out.print("<emphasis role="red">\\</emphasis>"); // Print a single backsl <tr> <th>Code</th> - <th>Result</th> + <th>Result (added <quote>␣</quote>)</th> </tr> <tr> @@ -2928,7 +2928,7 @@ System.out.println("<emphasis role="red">\\ /</emphasis>"); <tr> <th>Code</th> - <th>Result</th> + <th>Result (added <quote>␣</quote>)</th> </tr> <tr> @@ -2970,7 +2970,7 @@ System.out.println("<emphasis role="red">/_\\</emphasis>");</programlisting></td <tr> <th>Code</th> - <th>Result</th> + <th>Result (added <quote>␣</quote>)</th> </tr> <tr> @@ -3028,7 +3028,7 @@ System.out.println("<emphasis role="red">/_\\</emphasis>");</programlisting></td <tr> <th>Code</th> - <th>Result</th> + <th>Result (added <quote>␣</quote>)</th> </tr> <tr> @@ -3091,7 +3091,7 @@ System.out.println("\\ /"); </programlisting></td> </tr> <tr> - <td valign="top"><programlisting>System.out.format("%"+ numberOfRowGroups + "s ", "\\ /");</programlisting></td> + <td valign="top"><programlisting language="java">System.out.format("%"+ numberOfRowGroups + "s ", "\\ /");</programlisting></td> </tr> </informaltable> @@ -3114,7 +3114,7 @@ System.out.println("\\ /"); </programlisting></td> </tr> <tr> - <td valign="top"><programlisting language="none">final int repetitions = 3; + <td valign="top"><programlisting language="java">final int repetitions = 3; for (int i = 0; i < repetitions; i++) { System.out.print("/_"); }</programlisting></td> @@ -3129,7 +3129,7 @@ for (int i = 0; i < repetitions; i++) { </tr> <tr> - <td valign="top"><programlisting>final int repetitions = 3; + <td valign="top"><programlisting language="java">final int repetitions = 3; System.out.println("/_".repeat(repetitions));</programlisting></td> </tr> </informaltable> -- GitLab