service/shipmentActivityFactories - reduced scope to JobActivityFactory
@@ -115,15 +115,15 @@ public class VehicleRoute {
private End end;
- private TourActivities tourActivities = new TourActivities();
+ private final TourActivities tourActivities = new TourActivities();
- private TourActivityFactory serviceActivityFactory = new DefaultTourActivityFactory();
+ private final Set<Shipment> openShipments = new HashSet<Shipment>();
- private TourShipmentActivityFactory shipmentActivityFactory = new DefaultShipmentActivityFactory();
+ private JobActivityFactory jobActivityFactory = new JobActivityFactory() {
- private Set<Shipment> openShipments = new HashSet<Shipment>();
+ private final TourShipmentActivityFactory shipmentActivityFactory = new DefaultShipmentActivityFactory();
- private JobActivityFactory jobActivityFactory = new JobActivityFactory() {
+ private final TourActivityFactory serviceActivityFactory = new DefaultTourActivityFactory();
@Override
public List<AbstractActivity> createActivities(Job job) {
