Skip to content
Snippets Groups Projects
Commit f502f964 authored by Loïc Ortola's avatar Loïc Ortola
Browse files

fix: sout

parent 3e17c8e6
Branches
No related tags found
No related merge requests found
...@@ -3,7 +3,9 @@ package io.takima.temporalpractice.bakery.kitchen; ...@@ -3,7 +3,9 @@ package io.takima.temporalpractice.bakery.kitchen;
public class KitchenWorkflowImpl implements KitchenWorkflow { public class KitchenWorkflowImpl implements KitchenWorkflow {
@Override @Override
public void makeCookies() { public void makeCookies() {
System.out.println("I'm making cookies"); // Note: System.out.println is used here for simplicity
System.out.println("Cookies are done!"); // 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.");
} }
} }
...@@ -2,7 +2,9 @@ package io.takima.temporalpractice.bakery.kitchen; ...@@ -2,7 +2,9 @@ package io.takima.temporalpractice.bakery.kitchen;
public class KitchenWorkflowImpl { public class KitchenWorkflowImpl {
public void makeCookies() { public void makeCookies() {
System.out.println("I'm making cookies"); // Note: System.out.println is used here for simplicity
System.out.println("Cookies are done!"); // 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.");
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment