1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-26 14:56:28 +00:00
This commit is contained in:
Arnaud Roques 2022-01-27 18:22:47 +01:00
parent 6fb89e85e7
commit 5ad243efd4
2 changed files with 5 additions and 4 deletions

View File

@ -5,12 +5,12 @@
* (C) Copyright 2009-2020, Arnaud Roques * (C) Copyright 2009-2020, Arnaud Roques
* *
* Project Info: http://plantuml.com * Project Info: http://plantuml.com
* *
* If you like this project or if you find it useful, you can support us at: * If you like this project or if you find it useful, you can support us at:
* *
* http://plantuml.com/patreon (only 1$ per month!) * http://plantuml.com/patreon (only 1$ per month!)
* http://plantuml.com/paypal * http://plantuml.com/paypal
* *
* This file is part of PlantUML. * This file is part of PlantUML.
* *
* PlantUML is free software; you can redistribute it and/or modify it * PlantUML is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* *
* *
* Original Author: Arnaud Roques * Original Author: Arnaud Roques
* *
* *
*/ */
package net.sourceforge.plantuml.eggs; package net.sourceforge.plantuml.eggs;

View File

@ -113,6 +113,7 @@ public class Segment {
return Collections.unmodifiableCollection(result2); return Collections.unmodifiableCollection(result2);
} }
if (this.contains(pause)) { if (this.contains(pause)) {
assert pendingStart < pause.pos1;
result2.add(new Segment(pendingStart, pause.pos1)); result2.add(new Segment(pendingStart, pause.pos1));
pendingStart = pause.pos2; pendingStart = pause.pos2;
} }