From ac92c1522b56dbdc3e14f19fa232d50aaa306b88 Mon Sep 17 00:00:00 2001 From: Artur Date: Sat, 22 Oct 2016 00:31:56 +0300 Subject: [PATCH] Fixed example from the Cake pattern section --- sections/3-architecture.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sections/3-architecture.md b/sections/3-architecture.md index de0921c..5699cb6 100644 --- a/sections/3-architecture.md +++ b/sections/3-architecture.md @@ -89,7 +89,7 @@ trait SomeService { object SomeService { /** Builder for [[SomeService]] */ def apply(dbService: DBService): SomeService = - new SomeServiceImpl + new SomeServiceImpl(dbService) private final class SomeServiceImpl(dbService: DBService) extends SomeService {