Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2b7cc41

Browse files
committed
Grammatical fixes to memento
1 parenta403c84 commit2b7cc41

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎memento/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ object can be restored to this state later.
2020

2121
##Explanation
2222

23-
Realworld example
23+
Real-world example
2424

25-
>We are working on astrology application where we need to analyze star properties over time. We are
26-
>creating snapshots of starstate using Memento pattern.
25+
>We are working onanastrology application where we need to analyze star properties over time. We
26+
>arecreating snapshots of starstates using the Memento pattern.
2727
2828
In plain words
2929

@@ -51,7 +51,7 @@ public enum StarType {
5151
```
5252

5353
Next, let's jump straight to the essentials. Here's the`Star` class along with the mementos that we
54-
need manipulate. Especially pay attention to`getMemento` and`setMemento` methods.
54+
needtomanipulate. Especially pay attention to`getMemento` and`setMemento` methods.
5555

5656
```java
5757
publicinterfaceStarMemento {
@@ -176,7 +176,7 @@ Use the Memento pattern when
176176
* A direct interface to obtaining the state would expose implementation details and break the
177177
object's encapsulation
178178

179-
##Real world examples
179+
##Known uses
180180

181181
*[java.util.Date](http://docs.oracle.com/javase/8/docs/api/java/util/Date.html)
182182

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp