From 5039d899d597eb2b25be4b8f08101d7addf40e59 Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Tue, 30 Jan 2024 14:27:46 +0100 Subject: [PATCH] Fix rename --- .../onebusaway/gtfs/impl/HibernateGtfsRelationalDaoImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onebusaway-gtfs-hibernate/src/main/java/org/onebusaway/gtfs/impl/HibernateGtfsRelationalDaoImpl.java b/onebusaway-gtfs-hibernate/src/main/java/org/onebusaway/gtfs/impl/HibernateGtfsRelationalDaoImpl.java index 6ddc0b32..0b9fac66 100644 --- a/onebusaway-gtfs-hibernate/src/main/java/org/onebusaway/gtfs/impl/HibernateGtfsRelationalDaoImpl.java +++ b/onebusaway-gtfs-hibernate/src/main/java/org/onebusaway/gtfs/impl/HibernateGtfsRelationalDaoImpl.java @@ -291,7 +291,7 @@ public Collection getAllAreas() { @Override public Collection getAllLocationGroupElements() { Collection groups = _ops.find("FROM LocationGroup"); - return groups.stream().flatMap(group -> group.getLocations().stream().map(stopLocation -> { + return groups.stream().flatMap(group -> group.getStops().stream().map(stopLocation -> { LocationGroupElement locationGroupElement = new LocationGroupElement(); locationGroupElement.setLocationGroupId(group.getId()); locationGroupElement.setName(group.getName());