1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-06-26 11:52:36 +00:00

Fix issue

This commit is contained in:
Arnaud Roques 2022-03-04 20:25:35 +01:00
parent d387828147
commit 5a784dcb0c

View File

@ -100,7 +100,9 @@ public class TextBlockLineBefore extends AbstractTextBlock implements TextBlock,
@Override @Override
public Ports getPorts(StringBounder stringBounder) { public Ports getPorts(StringBounder stringBounder) {
if (textBlock instanceof WithPorts)
return ((WithPorts) textBlock).getPorts(stringBounder); return ((WithPorts) textBlock).getPorts(stringBounder);
return new Ports();
} }
} }