X-Git-Url: https://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=tim%2Fprune%2Fdata%2FLongitude.java;h=6af58894aad3d4ba791f1588e9519ea8df16b6cd;hp=d61adbc2ce2f96dd3e5c9fd0d25a2b5f52f17bd2;hb=d3679d647d57c2ee7376ddbf6def2d5b23c04307;hpb=312fec956e43f5d0a38617da5d0add9c62563e2c diff --git a/tim/prune/data/Longitude.java b/tim/prune/data/Longitude.java index d61adbc..6af5889 100644 --- a/tim/prune/data/Longitude.java +++ b/tim/prune/data/Longitude.java @@ -20,10 +20,9 @@ public class Longitude extends Coordinate * @param inValue value of coordinate * @param inFormat format to use */ - protected Longitude(double inValue, int inFormat) + public Longitude(double inValue, int inFormat) { - super(inValue, inFormat); - _cardinal = inValue < 0.0 ? WEST : EAST; + super(inValue, inFormat, inValue < 0.0 ? WEST : EAST); }