Skip to content

Commit 81985cd

Browse files
Don't synchronize anymore
1 parent 2e71dd6 commit 81985cd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/org/opentripplanner/routing/vehicle_parking/VehicleParking.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,7 @@ public boolean hasRealTimeDataForMode(
258258
* (A* routing), the update process is synchronized.
259259
*/
260260
public void updateAvailability(VehicleParkingSpaces vehicleParkingSpaces) {
261-
synchronized (this) {
262-
this.availability = vehicleParkingSpaces;
263-
}
261+
this.availability = vehicleParkingSpaces;
264262
}
265263

266264
@Override

0 commit comments

Comments
 (0)