diff options
Diffstat (limited to 'src/net/sourceforge/plantuml/ScaleWidth.java')
-rw-r--r-- | src/net/sourceforge/plantuml/ScaleWidth.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/sourceforge/plantuml/ScaleWidth.java b/src/net/sourceforge/plantuml/ScaleWidth.java index 9991ccb..d5fd0b1 100644 --- a/src/net/sourceforge/plantuml/ScaleWidth.java +++ b/src/net/sourceforge/plantuml/ScaleWidth.java @@ -2,7 +2,7 @@ * PlantUML : a free UML diagram generator * ======================================================================== * - * (C) Copyright 2009-2017, Arnaud Roques + * (C) Copyright 2009-2020, Arnaud Roques * * Project Info: http://plantuml.com * @@ -35,7 +35,7 @@ */ package net.sourceforge.plantuml; -public class ScaleWidth implements Scale { +public class ScaleWidth extends ScaleProtected implements Scale { private final double maxWidth; @@ -43,7 +43,7 @@ public class ScaleWidth implements Scale { this.maxWidth = maxWidth; } - public double getScale(double width, double height) { + public double getScaleInternal(double width, double height) { return maxWidth / width; } } |