Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
parameterized logging
Browse files Browse the repository at this point in the history
  • Loading branch information
kt86 committed Aug 14, 2024
1 parent a1024e0 commit cfdd81d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ public void testCollectionTracker() {
// (yy I do not understand why we do not need to do this for the end activity of the tour.)
}
}
log.warn("scheduledDistanceCosts=" + scheduledDistanceCosts);
log.warn("scheduledDistanceCosts={}", scheduledDistanceCosts);
}
totalScheduledCosts += scheduledDistanceCosts;
assertEquals(scheduledDistanceCosts, trackedDistanceCosts, Math.max(scheduledDistanceCosts, trackedDistanceCosts) * 0.01);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ public void initialize() {
@Test
public void testCompleteLSPMobsim() {
for (LspShipment shipment : completeLSP.getLspShipments()) {
log.info("comparing shipment: " + shipment.getId());
log.info("comparing shipment: {}", shipment.getId());
assertFalse(shipment.getShipmentLog().getPlanElements().isEmpty());
ArrayList<LspShipmentPlanElement> scheduleElements = new ArrayList<>(LspShipmentUtils.getOrCreateShipmentPlan(completeLSP.getSelectedPlan(), shipment.getId()).getPlanElements().values());
scheduleElements.sort(LspShipmentUtils.createShipmentPlanElementComparator());
Expand Down

0 comments on commit cfdd81d

Please sign in to comment.