diff --git a/matsim/src/test/java/org/matsim/pt/transitSchedule/MinimalTransferTimesImplTest.java b/matsim/src/test/java/org/matsim/pt/transitSchedule/MinimalTransferTimesImplTest.java index 83e9035bd3d..dc182804e07 100644 --- a/matsim/src/test/java/org/matsim/pt/transitSchedule/MinimalTransferTimesImplTest.java +++ b/matsim/src/test/java/org/matsim/pt/transitSchedule/MinimalTransferTimesImplTest.java @@ -32,11 +32,10 @@ */ public class MinimalTransferTimesImplTest { - private Id stopId1 = Id.create(1, TransitStopFacility.class); - private Id stopId2 = Id.create(2, TransitStopFacility.class); - private Id stopId3 = Id.create(3, TransitStopFacility.class); - private Id stopId4 = Id.create(4, TransitStopFacility.class); - private Id stopId5 = Id.create(5, TransitStopFacility.class); + private final Id stopId1 = Id.create(1, TransitStopFacility.class); + private final Id stopId2 = Id.create(2, TransitStopFacility.class); + private final Id stopId3 = Id.create(3, TransitStopFacility.class); + private final Id stopId4 = Id.create(4, TransitStopFacility.class); @Test void testSetGet() {