From 707d612229f61f7ae74d67192860bbed2d4f2e03 Mon Sep 17 00:00:00 2001 From: Arnaud Roques Date: Fri, 17 Mar 2023 18:14:13 +0100 Subject: [PATCH] fix: improve ditaa management https://github.com/plantuml/plantuml/issues/1331 --- .../sourceforge/plantuml/EmbeddedDiagram.java | 4 +-- .../sourceforge/plantuml/utils/MTRandom.java | 27 ------------------- 2 files changed, 2 insertions(+), 29 deletions(-) diff --git a/src/net/sourceforge/plantuml/EmbeddedDiagram.java b/src/net/sourceforge/plantuml/EmbeddedDiagram.java index 34841850f..b9bdcd0bc 100644 --- a/src/net/sourceforge/plantuml/EmbeddedDiagram.java +++ b/src/net/sourceforge/plantuml/EmbeddedDiagram.java @@ -80,8 +80,8 @@ public class EmbeddedDiagram extends AbstractTextBlock implements Line, Atom { if (s.equals(EMBEDDED_START)) return "uml"; - if (s.equals(EMBEDDED_START)) - return "uml"; + if (s.equals(EMBEDDED_START + "ditaa")) + return "ditaa"; if (s.equals(EMBEDDED_START + "uml")) return "uml"; diff --git a/src/net/sourceforge/plantuml/utils/MTRandom.java b/src/net/sourceforge/plantuml/utils/MTRandom.java index be99c638a..4e566c25a 100644 --- a/src/net/sourceforge/plantuml/utils/MTRandom.java +++ b/src/net/sourceforge/plantuml/utils/MTRandom.java @@ -53,33 +53,6 @@ import java.util.Random; * and should not be used for cryptographic systems or in any * other situation where true random numbers are required. *

- * - * -
- * This software is licensed under the - * CC-GNU - * LGPL. - * - * * */