mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-14 22:43:57 +00:00
removed shadowing shortName field in MarkDTO
This commit is contained in:
1 parent
1c7b3868d3
commit
fec16789a6
1 file changed
-6
@@ -14,14 +14,12 @@ public class MarkDTO extends ControlPointDTO implements MappableToDevice {
|
||||
public Color color;
|
||||
public String shape;
|
||||
public String pattern;
|
||||
public String shortName;
|
||||
public MarkType type;
|
||||
|
||||
MarkDTO() {}
|
||||
|
||||
public MarkDTO(String idAsString, String name, String shortName, double latDeg, double lngDeg) {
|
||||
super(idAsString, name, shortName);
|
||||
this.shortName = shortName;
|
||||
this.position = new DegreePosition(latDeg, lngDeg);
|
||||
}
|
||||
|
||||
@@ -43,10 +41,6 @@ public class MarkDTO extends ControlPointDTO implements MappableToDevice {
|
||||
return false;
|
||||
}
|
||||
|
||||
public String getShortName() {
|
||||
return shortName;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return getIdAsString().hashCode();
|
||||
|
||||
Reference in new issue
Block a user