From 267de33184ef896e6fb31b6e2d202f537c426c79 Mon Sep 17 00:00:00 2001 From: Manoel Campos Date: Thu, 5 Nov 2026 00:07:02 -0300 Subject: [PATCH] Fix column indexes in MinTimeBetweenEventsExample The "Host Cores" column moved the time columns one position to the right, so index 9 pointed to CloudletCores (a Long), failing with "f != java.lang.Long". The time columns are now 10 to 12. Related to cloudsimplus/cloudsimplus#604 Co-Authored-By: Claude Opus 5.5 --- .../org/cloudsimplus/examples/MinTimeBetweenEventsExample.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/cloudsimplus/examples/MinTimeBetweenEventsExample.java b/src/main/java/org/cloudsimplus/examples/MinTimeBetweenEventsExample.java index cf96927..24c4e0f 100755 --- a/src/main/java/org/cloudsimplus/examples/MinTimeBetweenEventsExample.java +++ b/src/main/java/org/cloudsimplus/examples/MinTimeBetweenEventsExample.java @@ -219,9 +219,9 @@ private void runSimulationAndPrintResults() { broker.getCloudletSubmittedList().sort(Comparator.comparingDouble(Cloudlet::getStartTime)); final var builder = new CloudletsTableBuilder(broker.getCloudletSubmittedList()); builder - .column(9, this::formatColumn) .column(10, this::formatColumn) .column(11, this::formatColumn) + .column(12, this::formatColumn) .build(); final int notFinished = broker.getCloudletCreatedList().size() - broker.getCloudletFinishedList().size();