From f502f964c5156bb08065a932bc13c68ba45a1bbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Ortola?= <contact@loicortola.com> Date: Sat, 17 May 2025 11:14:05 +0200 Subject: [PATCH] fix: sout --- .../bakery/kitchen/KitchenWorkflowImpl.java | 6 ++++-- .../bakery/kitchen/KitchenWorkflowImpl.java | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/solutions/day1/part-1/temporalpractice/bakery/kitchen/KitchenWorkflowImpl.java b/solutions/day1/part-1/temporalpractice/bakery/kitchen/KitchenWorkflowImpl.java index 445fb39..187768d 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 41dcf8c..074810f 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."); } } -- GitLab