mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 10:58:42 +00:00
fix: Fix typos (#2834)
* fix typos * fix typo * fix typo * fix typos * fix typo
This commit is contained in:
@@ -26,7 +26,7 @@ solve common problems when designing an application or system.
|
||||
Design patterns can speed up the development process by providing tested, proven
|
||||
development paradigms.
|
||||
|
||||
Reusing design patterns help prevent subtle issues that cause major
|
||||
Reusing design patterns helps prevent subtle issues that cause major
|
||||
problems, and it also improves code readability for coders and architects who
|
||||
are familiar with the patterns.
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ import com.iluwatar.featuretoggle.user.User;
|
||||
|
||||
/**
|
||||
* Simple interfaces to allow the calling of the method to generate the welcome message for a given
|
||||
* user. While there is a helper method to gather the the status of the feature toggle. In some
|
||||
* user. While there is a helper method to gather the status of the feature toggle. In some
|
||||
* cases there is no need for the {@link Service#isEnhanced()} in {@link
|
||||
* com.iluwatar.featuretoggle.pattern.tieredversion.TieredFeatureToggleVersion} where the toggle is
|
||||
* determined by the actual {@link User}.
|
||||
|
||||
@@ -37,7 +37,7 @@ import lombok.extern.slf4j.Slf4j;
|
||||
* requirements.
|
||||
*
|
||||
* <p><i>INTENT</i> <br>
|
||||
* The intent of this pattern is to separate the the synchronous and asynchronous processing in the
|
||||
* The intent of this pattern is to separate the synchronous and asynchronous processing in the
|
||||
* concurrent application by introducing two intercommunicating layers - one for sync and one for
|
||||
* async. This simplifies the programming without unduly affecting the performance.
|
||||
*
|
||||
|
||||
@@ -29,8 +29,8 @@ import lombok.NonNull;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
/**
|
||||
* An implementation of a Lockable object. This is the the Sword of Aragorn and every creature wants
|
||||
* to posses it!
|
||||
* An implementation of a Lockable object. This is the Sword of Aragorn and every creature wants
|
||||
* to possess it!
|
||||
*/
|
||||
@Slf4j
|
||||
public class SwordOfAragorn implements Lockable {
|
||||
|
||||
@@ -7,8 +7,8 @@ tag:
|
||||
---
|
||||
|
||||
## Intent
|
||||
Send partial response from server to client on need basis. Client will specify the the fields
|
||||
that it need to server, instead of serving all details for resource.
|
||||
Send partial response from server to client on need basis. Client will specify the fields
|
||||
that it needs to server, instead of serving all details for resource.
|
||||
|
||||
## Class diagram
|
||||

|
||||
@@ -16,7 +16,7 @@ that it need to server, instead of serving all details for resource.
|
||||
## Applicability
|
||||
Use the Partial Response pattern when
|
||||
|
||||
* Client need only subset of data from resource.
|
||||
* Client needs only subset of data from resource.
|
||||
* To avoid too much data transfer over wire
|
||||
|
||||
## Credits
|
||||
|
||||
Reference in New Issue
Block a user