From 3c5769cc5fe6e140d5cc4ec21a7598fdb5da92d3 Mon Sep 17 00:00:00 2001 From: matthew16550 Date: Sun, 3 Oct 2021 04:02:00 +1100 Subject: [PATCH] Remove unused stringBounder field --- src/net/sourceforge/plantuml/ugraphic/eps/DriverTextEps.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/net/sourceforge/plantuml/ugraphic/eps/DriverTextEps.java b/src/net/sourceforge/plantuml/ugraphic/eps/DriverTextEps.java index 6a538e9d9..bd62af601 100644 --- a/src/net/sourceforge/plantuml/ugraphic/eps/DriverTextEps.java +++ b/src/net/sourceforge/plantuml/ugraphic/eps/DriverTextEps.java @@ -43,13 +43,11 @@ import java.awt.geom.PathIterator; import java.util.ArrayList; import java.util.List; -import net.sourceforge.plantuml.FileFormat; import net.sourceforge.plantuml.eps.EpsGraphics; import net.sourceforge.plantuml.eps.EpsGraphicsMacroAndText; import net.sourceforge.plantuml.eps.EpsStrategy; import net.sourceforge.plantuml.graphic.FontConfiguration; import net.sourceforge.plantuml.graphic.FontStyle; -import net.sourceforge.plantuml.graphic.StringBounder; import net.sourceforge.plantuml.ugraphic.ClipContainer; import net.sourceforge.plantuml.ugraphic.MinMax; import net.sourceforge.plantuml.ugraphic.UClip; @@ -63,12 +61,10 @@ import net.sourceforge.plantuml.ugraphic.color.HColorUtils; public class DriverTextEps implements UDriver { - private final StringBounder stringBounder; private final ClipContainer clipContainer; private final EpsStrategy strategy; public DriverTextEps(ClipContainer clipContainer, EpsStrategy strategy) { - this.stringBounder = FileFormat.PNG.getDefaultStringBounder(); this.clipContainer = clipContainer; this.strategy = strategy; }