Skip to content

Commit

Permalink
fixed Count appears as 1 for block even when no blocks exist (#1802)
Browse files Browse the repository at this point in the history
  • Loading branch information
qcdyx committed Aug 22, 2024
1 parent 2c81b7a commit b597b7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ private <E extends GtfsEntity> int loadUniqueCount(
if (entity != null) {
E castedEntity = clazz.cast(entity);
String id = idExtractor.apply(castedEntity);
if (id != null) {
if (id != null && !id.isEmpty()) {
uniqueIds.add(id);
}
}
Expand Down

0 comments on commit b597b7c

Please sign in to comment.