Commit 1b662663 authored by Tobias Meuser's avatar Tobias Meuser
Browse files

Added old functions as deprecated

parent e157b605
...@@ -44,6 +44,11 @@ public interface Location extends Transmitable, Cloneable { ...@@ -44,6 +44,11 @@ public interface Location extends Transmitable, Cloneable {
*/ */
public void set(Location l); public void set(Location l);
@Deprecated
default public double getLatitude() {
return getLatitudeOrY();
}
/** /**
* Latitude in degrees or Y * Latitude in degrees or Y
* *
...@@ -60,6 +65,11 @@ public interface Location extends Transmitable, Cloneable { ...@@ -60,6 +65,11 @@ public interface Location extends Transmitable, Cloneable {
*/ */
public double getLatitudeOrY(); public double getLatitudeOrY();
@Deprecated
default public double getLongitude() {
return getLongitudeOrX();
}
/** /**
* Longitude in degrees or X * Longitude in degrees or X
* *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment