summaryrefslogtreecommitdiff
path: root/src/net/sourceforge/plantuml/ScaleHeight.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/sourceforge/plantuml/ScaleHeight.java')
-rw-r--r--src/net/sourceforge/plantuml/ScaleHeight.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/sourceforge/plantuml/ScaleHeight.java b/src/net/sourceforge/plantuml/ScaleHeight.java
index 5175a76..6b82b52 100644
--- a/src/net/sourceforge/plantuml/ScaleHeight.java
+++ b/src/net/sourceforge/plantuml/ScaleHeight.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 ScaleHeight implements Scale {
+public class ScaleHeight extends ScaleProtected implements Scale {
private final double maxHeight;
@@ -43,7 +43,7 @@ public class ScaleHeight implements Scale {
this.maxHeight = maxHeight;
}
- public double getScale(double width, double height) {
+ public double getScaleInternal(double width, double height) {
return maxHeight / height;
}
}