diff --git a/solutions/day1/part-1/temporalpractice/bakery/kitchen/KitchenWorkflowImpl.java b/solutions/day1/part-1/temporalpractice/bakery/kitchen/KitchenWorkflowImpl.java index 445fb390b3ea4da03e685e4bcd6770c9a5dc11d0..187768d92a938e883f5824b3b3b60a2b34d0d697 100644 --- a/solutions/day1/part-1/temporalpractice/bakery/kitchen/KitchenWorkflowImpl.java +++ b/solutions/day1/part-1/temporalpractice/bakery/kitchen/KitchenWorkflowImpl.java @@ -3,7 +3,9 @@ package io.takima.temporalpractice.bakery.kitchen; public class KitchenWorkflowImpl implements KitchenWorkflow { @Override public void makeCookies() { - System.out.println("I'm making cookies"); - System.out.println("Cookies are done!"); + // Note: System.out.println is used here for simplicity + // In real applications, you should use proper Workflow-aware logging (we'll cover this in Day 2) + System.out.println("I'm in the KitchenWorkflow.makeCookies()."); + System.out.println("I'm supposed to make cookies here."); } } diff --git a/src/main/java/io/takima/temporalpractice/bakery/kitchen/KitchenWorkflowImpl.java b/src/main/java/io/takima/temporalpractice/bakery/kitchen/KitchenWorkflowImpl.java index 41dcf8c26a48702bd6b2fa1b233901c06d85b749..074810f310104b4b8cee02c6d241908201c8f25f 100644 --- a/src/main/java/io/takima/temporalpractice/bakery/kitchen/KitchenWorkflowImpl.java +++ b/src/main/java/io/takima/temporalpractice/bakery/kitchen/KitchenWorkflowImpl.java @@ -2,7 +2,9 @@ package io.takima.temporalpractice.bakery.kitchen; public class KitchenWorkflowImpl { public void makeCookies() { - System.out.println("I'm making cookies"); - System.out.println("Cookies are done!"); + // Note: System.out.println is used here for simplicity + // In real applications, you should use proper Workflow-aware logging (we'll cover this in Day 2) + System.out.println("I'm in the KitchenWorkflow.makeCookies()."); + System.out.println("I'm supposed to make cookies here."); } }