From d43fe93e2ba6bcaf48945ddfbf609cbff303c1b1 Mon Sep 17 00:00:00 2001 From: matthew16550 Date: Sun, 28 Mar 2021 12:36:41 +1100 Subject: [PATCH] Undelete ImageDataComplex constructor that was accidentally removed from net.sourceforge.plantuml.api in commit a746d98 --- src/net/sourceforge/plantuml/api/ImageDataComplex.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/net/sourceforge/plantuml/api/ImageDataComplex.java b/src/net/sourceforge/plantuml/api/ImageDataComplex.java index f6b3e6216..dda92c697 100644 --- a/src/net/sourceforge/plantuml/api/ImageDataComplex.java +++ b/src/net/sourceforge/plantuml/api/ImageDataComplex.java @@ -44,6 +44,13 @@ public class ImageDataComplex extends ImageDataAbstract { private final CMapData cmap; private final String warningOrError; + @SuppressWarnings("unused") // available publicly so retained for backwards compatibility + public ImageDataComplex(Dimension2D info, CMapData cmap, String warningOrError) { + super(info); + this.cmap = cmap; + this.warningOrError = warningOrError; + } + public ImageDataComplex(Dimension2D info, CMapData cmap, String warningOrError, int status) { super(info); this.cmap = cmap;