Skip to content

Commit a080702

Browse files
committed
find desiredStation case-insensitive
1 parent b79089d commit a080702

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/java/com/bc/fiduceo/reader/insitu/generic/StationDatabase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ private List<Object> extractStation(int primaryIndex, String primaryIdValue, int
9797
secondaryFound = true;
9898
}
9999

100-
if (siteId != null && siteId.equals(primaryIdValue)) {
100+
if (siteId != null && siteId.equalsIgnoreCase(primaryIdValue)) {
101101
primaryFound = true;
102102
}
103-
if (secondaryId != null && stationId != null && stationId.equals(secondaryIdValue)) {
103+
if (secondaryId != null && stationId != null && stationId.equalsIgnoreCase(secondaryIdValue)) {
104104
secondaryFound = true;
105105
}
106106

0 commit comments

Comments
 (0)