Skip to content

Commit

Permalink
Fixed example from the Cake pattern section
Browse files Browse the repository at this point in the history
  • Loading branch information
azhur committed Oct 21, 2016
1 parent f9a1b31 commit ac92c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sections/3-architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ac92c15

Please sign in to comment.