From 5bb6242b6cbb3dd228c62441477ebf12b058dcc6 Mon Sep 17 00:00:00 2001 From: Martin Goik <goik@hdm-stuttgart.de> Date: Tue, 23 Jan 2024 15:37:45 +0100 Subject: [PATCH] Cosmetics --- Doc/Sd1/Inheritance/inheritance.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/Sd1/Inheritance/inheritance.xml b/Doc/Sd1/Inheritance/inheritance.xml index d7f7e12ed..82f5a042b 100644 --- a/Doc/Sd1/Inheritance/inheritance.xml +++ b/Doc/Sd1/Inheritance/inheritance.xml @@ -599,7 +599,8 @@ if (day.equals(Day.FRIDAY)) ... // Oops: NPE approaching ...</programlisting> public class Run { public static void main(String[] args) { - final Shape shape = new Shape(<emphasis role="red">2.0</emphasis>, <emphasis + final Shape shape = + new Shape(<emphasis role="red">2.0</emphasis>, <emphasis role="red">3.0</emphasis>); // Center coordinates System.out.println(shape); </programlisting></td> -- GitLab