From 0080e61e5f2e20ce45041e29dc039d042aa7f76e Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Thu, 11 May 2017 11:27:30 -0600 Subject: [PATCH] have AltosGraph use new AltosPressure to get imperial_units working --- altosuilib/AltosGraph.java | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/altosuilib/AltosGraph.java b/altosuilib/AltosGraph.java index 23fa1ffe..2dbd1612 100644 --- a/altosuilib/AltosGraph.java +++ b/altosuilib/AltosGraph.java @@ -81,29 +81,6 @@ class AltosNsat extends AltosUnits { } } -class AltosPressure extends AltosUnits { - - public double value(double p, boolean imperial_units) { - return p; - } - - public double inverse(double p, boolean imperial_units) { - return p; - } - - public String show_units(boolean imperial_units) { - return "Pa"; - } - - public String say_units(boolean imperial_units) { - return "pascals"; - } - - public int show_fraction(int width, boolean imperial_units) { - return 0; - } -} - class AltosDbm extends AltosUnits { public double value(double d, boolean imperial_units) { -- 2.30.2