From ead2698f010a4bb9d705a25fee41c5bc12c07c20 Mon Sep 17 00:00:00 2001 From: matthew16550 Date: Sun, 3 Oct 2021 06:12:31 +1100 Subject: [PATCH] Remove redundant getDefaultStringBounder() methods --- src/net/sourceforge/plantuml/FileFormat.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/net/sourceforge/plantuml/FileFormat.java b/src/net/sourceforge/plantuml/FileFormat.java index 52ed6d6ae..9ea941f7b 100644 --- a/src/net/sourceforge/plantuml/FileFormat.java +++ b/src/net/sourceforge/plantuml/FileFormat.java @@ -132,14 +132,6 @@ public enum FileFormat { return getDefaultStringBounder(TikzFontDistortion.getDefault(), SvgCharSizeHack.NO_HACK); } - public StringBounder getDefaultStringBounder(SvgCharSizeHack charSizeHack) { - return getDefaultStringBounder(TikzFontDistortion.getDefault(), charSizeHack); - } - - public StringBounder getDefaultStringBounder(TikzFontDistortion tikzFontDistortion) { - return getDefaultStringBounder(tikzFontDistortion, SvgCharSizeHack.NO_HACK); - } - public StringBounder getDefaultStringBounder(TikzFontDistortion tikzFontDistortion, SvgCharSizeHack charSizeHack) { if (this == LATEX || this == LATEX_NO_PREAMBLE) { return getTikzStringBounder(tikzFontDistortion);