From 161335da267e15ea51dc0eee189bf9157e62e018 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 10 May 2024 10:12:45 -0400 Subject: [PATCH] Comment cleanup --- src/engine/db/handlers/dbWarehouseHandler.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/engine/db/handlers/dbWarehouseHandler.java b/src/engine/db/handlers/dbWarehouseHandler.java index 47d97e70..60112754 100644 --- a/src/engine/db/handlers/dbWarehouseHandler.java +++ b/src/engine/db/handlers/dbWarehouseHandler.java @@ -187,6 +187,10 @@ public class dbWarehouseHandler extends dbHandlerBase { public void LOAD_WORKORDERS() { + // Method loads NPC workOrders from disk at bootstrap. + // A workOrder will persist until completed or junked + // via the client interface. + ArrayList submitList = new ArrayList<>(); try (Connection connection = DbManager.getConnection(); @@ -202,7 +206,7 @@ public class dbWarehouseHandler extends dbHandlerBase { Logger.error(e); } - // Submit the new workOrders to the ForgeManager + // Submit new workOrders to the ForgeManager for (WorkOrder workOrder : submitList) { DbManager.WarehouseQueries.DELETE_WORKORDER(workOrder);