1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-16 10:15:13 +00:00

Undelete ImageDataComplex constructor that was accidentally removed from net.sourceforge.plantuml.api in commit a746d98

This commit is contained in:
matthew16550 2021-03-28 12:36:41 +11:00
parent 986393d90d
commit d43fe93e2b

View File

@ -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;