mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-10 15:50:57 +00:00
Fix issue
This commit is contained in:
parent
d387828147
commit
5a784dcb0c
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user