mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-24 14:38:45 +00:00
removed unused BoatClassDTO.displayName
This commit is contained in:
+1
-10
@@ -16,20 +16,15 @@ public class BoatClassDTO extends NamedDTO implements Serializable, Comparable<B
|
||||
|
||||
private Distance hullLength;
|
||||
private Distance hullBeam;
|
||||
private String displayName;
|
||||
|
||||
BoatClassDTO() {}
|
||||
|
||||
public BoatClassDTO(String name, String displayName, Distance hullLength, Distance hullBeam) {
|
||||
public BoatClassDTO(String name, Distance hullLength, Distance hullBeam) {
|
||||
super(name);
|
||||
this.hullLength = hullLength;
|
||||
this.hullBeam = hullBeam;
|
||||
}
|
||||
|
||||
public BoatClassDTO(String name, Distance hullLength, Distance hullBeam) {
|
||||
this(name, /* display name */ null, hullLength, hullBeam);
|
||||
}
|
||||
|
||||
public Distance getHullLength() {
|
||||
return hullLength;
|
||||
}
|
||||
@@ -38,10 +33,6 @@ public class BoatClassDTO extends NamedDTO implements Serializable, Comparable<B
|
||||
return hullBeam;
|
||||
}
|
||||
|
||||
public String getDisplayName() {
|
||||
return displayName;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int compareTo(BoatClassDTO o) {
|
||||
return getName().compareToIgnoreCase(o.getName());
|
||||
|
||||
Reference in New Issue
Block a user