From a813157de128516e38495bf106565debc47510d8 Mon Sep 17 00:00:00 2001 From: Dominik Liebler Date: Mon, 27 Jan 2014 18:13:47 +0100 Subject: [PATCH] fixed misspellings of dependent --- AbstractFactory/README.md | 2 +- StaticFactory/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AbstractFactory/README.md b/AbstractFactory/README.md index c568d80..aa084fc 100644 --- a/AbstractFactory/README.md +++ b/AbstractFactory/README.md @@ -2,5 +2,5 @@ ## Purpose -To create series of related or dependant objects without specifying their concrete classes. +To create series of related or dependent objects without specifying their concrete classes. Usually the created classes all implement the same interface. The client of the abstract factory does not care about how these objects are created, he just knows how they go together. diff --git a/StaticFactory/README.md b/StaticFactory/README.md index c3131f6..6c22bc5 100644 --- a/StaticFactory/README.md +++ b/StaticFactory/README.md @@ -2,7 +2,7 @@ ## Purpose -Similar to the AbstractFactory, this pattern is used to create series of related or dependant objects. +Similar to the AbstractFactory, this pattern is used to create series of related or dependent objects. The difference between this and the abstract factory pattern is that the static factory pattern uses just one static method to create all types of objects it can create. It is usually named `factory` or `build`.