Skip to content

Commit 2a9de6a

Browse files
committed
Corrections to README.md class diagram paths.
1 parent 5c2e2ff commit 2a9de6a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ A programming idiom is a means of expressing a recurring construct in one or mor
461461
## <a name="null-object">Null Object</a> [&#8593;](#list-of-design-patterns)
462462
**Intent:** In most object-oriented languages, such as Java or C#, references may be null. These references need to be checked to ensure they are not null before invoking any methods, because methods typically cannot be invoked on null references. Instead of using a null reference to convey absence of an object (for instance, a non-existent customer), one uses an object which implements the expected interface, but whose method body is empty. The advantage of this approach over a working default implementation is that a Null Object is very predictable and has no side effects: it does nothing.
463463

464-
![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/null-object/etc/test.png "Null Object")
464+
![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/null-object/etc/null-object.png "Null Object")
465465

466466
**Applicability:** Use the Null Object pattern when
467467
* You want to avoid explicit null checks and keep the algorithm elegant and easy to read.
@@ -477,7 +477,7 @@ A programming idiom is a means of expressing a recurring construct in one or mor
477477
## <a name="callback">Callback</a> [&#8593;](#list-of-design-patterns)
478478
**Intent:** Callback is a piece of executable code that is passed as an argument to other code, which is expected to call back (execute) the argument at some convenient time.
479479

480-
![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/callback/etc/callback.jpg "Callback")
480+
![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/callback/etc/callback.png "Callback")
481481

482482
**Applicability:** Use the Callback pattern when
483483
* When some arbitrary synchronous or asynchronous action must be performed after execution of some defined activity.
@@ -488,7 +488,7 @@ A programming idiom is a means of expressing a recurring construct in one or mor
488488
## <a name="intercepting-filter">Intercepting Filter</a> [&#8593;](#list-of-design-patterns)
489489
**Intent:** Provide pluggable filters to conduct necessary pre-processing and post-processing to requests from a client to a target
490490

491-
![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/intercepting-filter/etc/intercepting-filter.jpg "Intercepting Filter")
491+
![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/intercepting-filter/etc/intercepting-filter.png "Intercepting Filter")
492492

493493
**Applicability:** Use the Intercepting Filter pattern when
494494
* a system uses pre-processing or post-processing requests
@@ -498,15 +498,15 @@ A programming idiom is a means of expressing a recurring construct in one or mor
498498
## <a name="execute-around">Execute Around</a> [&#8593;](#list-of-design-patterns)
499499
**Intent:** Execute Around idiom frees the user from certain actions that should always be executed before and after the business method. A good example of this is resource allocation and deallocation leaving the user to specify only what to do with the resource.
500500

501-
![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/execute-around/execute-around.png "Execute Around")
501+
![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/execute-around/etc/execute-around.png "Execute Around")
502502

503503
**Applicability:** Use the Execute Around idiom when
504504
* You use an API that requires methods to be called in pairs such as open/close or allocate/deallocate.
505505

506506
## <a name="property">Property</a> [&#8593;](#list-of-design-patterns)
507507
**Intent:** Create hierarchy of objects and new objects using already existing objects as parents.
508508

509-
![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/property/etc/property.jpg "Property")
509+
![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/property/etc/property.png "Property")
510510

511511
**Applicability:** Use the Property pattern when
512512
* when you like to have objects with dynamic set of fields and prototype inheritance

0 commit comments

Comments
 (0)