From 703b83a5accb70b12a246402c6c4d50c7275adec Mon Sep 17 00:00:00 2001 From: soloturn Date: Thu, 27 Jan 2022 06:42:55 +0100 Subject: [PATCH] pendingStart < pause.pos1 always true in Segment.java --- .../sourceforge/plantuml/sequencediagram/graphic/Segment.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/net/sourceforge/plantuml/sequencediagram/graphic/Segment.java b/src/net/sourceforge/plantuml/sequencediagram/graphic/Segment.java index 34ea0517c..e7b008724 100644 --- a/src/net/sourceforge/plantuml/sequencediagram/graphic/Segment.java +++ b/src/net/sourceforge/plantuml/sequencediagram/graphic/Segment.java @@ -113,8 +113,7 @@ public class Segment { return Collections.unmodifiableCollection(result2); } if (this.contains(pause)) { - if (pendingStart < pause.pos1) - result2.add(new Segment(pendingStart, pause.pos1)); + result2.add(new Segment(pendingStart, pause.pos1)); pendingStart = pause.pos2; } }