Merge pull request #2504 from JoePfeiffer/fix-FlightDataType-equals

Fix FlightDataType test for equality
This commit is contained in:
Joe Pfeiffer 2024-07-09 14:27:57 -06:00 committed by GitHub
commit 3f013d9d83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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