Fix FlightDataType check for equality
This commit is contained in:
parent
bcb9fe2e47
commit
5da56840c8
@ -504,7 +504,7 @@ public class FlightDataType implements Comparable<FlightDataType> {
|
||||
public boolean equals(Object o) {
|
||||
if (!(o instanceof FlightDataType))
|
||||
return false;
|
||||
return this.compareTo((FlightDataType) o) == 0;
|
||||
return this.name.compareToIgnoreCase(((FlightDataType)o).name) == 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user