From 581a16bec6f8c8d9c4c7f9171973232a47e67fda Mon Sep 17 00:00:00 2001 From: Martin Goik <goik@hdm-stuttgart.de> Date: Thu, 18 Apr 2024 17:39:10 +0200 Subject: [PATCH] osmatics allowed switch types --- Doc/Sd1/Statements/statements.xml | 72 +++++++++++-------------------- 1 file changed, 24 insertions(+), 48 deletions(-) diff --git a/Doc/Sd1/Statements/statements.xml b/Doc/Sd1/Statements/statements.xml index 83fb9ec81..48ab1334a 100644 --- a/Doc/Sd1/Statements/statements.xml +++ b/Doc/Sd1/Statements/statements.xml @@ -1906,61 +1906,37 @@ switch (number) { <title>Allowed types for <code language="java">switch</code> statements</title> - <glosslist> - <glossentry> - <glossterm>Integer types:</glossterm> - - <glossdef> - <itemizedlist> - <listitem> - <para>byte and Byte</para> - </listitem> - - <listitem> - <para>short and Short</para> - </listitem> - - <listitem> - <para>int and Integer</para> - </listitem> - - <listitem> - <para>char and Character</para> - </listitem> - </itemizedlist> - </glossdef> - </glossentry> - - <glossentry> - <glossterm/> - - <glossdef> - <para/> - </glossdef> - </glossentry> - </glosslist> - <itemizedlist> <listitem> <para><emphasis>Integer types:</emphasis></para> - <itemizedlist> - <listitem> - <para>byte and Byte</para> - </listitem> + <informaltable border="0"> + <tr> + <td valign="top"><itemizedlist> + <listitem> + <para>byte and <classname + xlink:href="javaapi://java.lang.Byte">Byte</classname></para> + </listitem> - <listitem> - <para>short and Short</para> - </listitem> + <listitem> + <para>short and <classname + xlink:href="javaapi://java.lang.Short">Short</classname></para> + </listitem> + </itemizedlist></td> - <listitem> - <para>int and Integer</para> - </listitem> + <td valign="top"><itemizedlist> + <listitem> + <para>int and <classname + xlink:href="javaapi://java.lang.Integer">Integer</classname></para> + </listitem> - <listitem> - <para>char and Character</para> - </listitem> - </itemizedlist> + <listitem> + <para>char and <classname + xlink:href="javaapi://java.lang.Character">Character</classname></para> + </listitem> + </itemizedlist></td> + </tr> + </informaltable> </listitem> <listitem> -- GitLab