Skip to content

Commit db11dc4

Browse files
committed
Merge pull request iluwatar#235 from simon04/blank
Jekyll does not like enumerations w/o blank lines
2 parents 782c0b8 + 2c9288b commit db11dc4

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

flyweight/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ efficiently.
1515
**Applicability:** The Flyweight pattern's effectiveness depends heavily on how
1616
and where it's used. Apply the Flyweight pattern when all of the following are
1717
true
18+
1819
* an application uses a large number of objects
1920
* storage costs are high because of the sheer quantity of objects
2021
* most object state can be made extrinsic

interpreter/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ language.
1616
**Applicability:** Use the Interpreter pattern when there is a language to
1717
interpret, and you can represent statements in the language as abstract syntax
1818
trees. The Interpreter pattern works best when
19+
1920
* the grammar is simple. For complex grammars, the class hierarchy for the grammar becomes large and unmanageable. Tools such as parser generators are a better alternative in such cases. They can interpret expressions without building abstract syntax trees, which can save space and possibly time
2021
* efficiency is not a critical concern. The most efficient interpreters are usually not implemented by interpreting parse trees directly but by first translating them into another form. For example, regular expressions are often transformed into state machines. But even then, the translator can be implemented by the Interpreter pattern, so the pattern is still applicable

model-view-presenter/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ developers to build and test user interfaces.
1414

1515
**Applicability:** Use the Model-View-Presenter in any of the following
1616
situations
17+
1718
* when you want to improve the "Separation of Concerns" principle in presentation logic
1819
* when a user interface development and testing is necessary.

0 commit comments

Comments
 (0)