Skip to content

fix: typos in documentation files #3186

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Feb 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions caching/etc/caching.urm.puml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ package com.iluwatar.caching {
- LOGGER : Logger {static}
+ App()
+ main(args : String[]) {static}
+ useCacheAsideStategy()
+ useCacheAsideStrategy()
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word "Stategy" is misspelled as "Strategy".

+ useReadAndWriteThroughStrategy()
+ useReadThroughAndWriteAroundStrategy()
+ useReadThroughAndWriteBehindStrategy()
Expand Down Expand Up @@ -116,4 +116,4 @@ Node --> "-previous" Node
AppManager --> "-cachingPolicy" CachingPolicy
Node --> "-userAccount" UserAccount
CacheStore --> "-cache" LruCache
@enduml
@enduml
4 changes: 2 additions & 2 deletions caching/src/main/java/com/iluwatar/caching/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public static void main(final String[] args) {
LOGGER.info(splitLine);
app.useReadThroughAndWriteBehindStrategy();
LOGGER.info(splitLine);
app.useCacheAsideStategy();
app.useCacheAsideStrategy();
LOGGER.info(splitLine);
}

Expand Down Expand Up @@ -224,7 +224,7 @@ public void useReadThroughAndWriteBehindStrategy() {
/**
* Cache-Aside.
*/
public void useCacheAsideStategy() {
public void useCacheAsideStrategy() {
LOGGER.info("# CachingPolicy.ASIDE");
appManager.initCachingPolicy(CachingPolicy.ASIDE);
LOGGER.info(appManager.printCacheContent());
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word "Stategy" is misspelled as "Strategy".

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ void testReadThroughAndWriteBehindStrategy() {
@Test
void testCacheAsideStrategy() {
assertNotNull(app);
app.useCacheAsideStategy();
app.useCacheAsideStrategy();
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word "Stategy" is misspelled as "Strategy".

}
4 changes: 2 additions & 2 deletions money/src/main/java/com/iluwatar/CannotSubtractException.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.iluwatar;
/**
* An exception for when the user tries to subtract two diffrent currencies or subtract an amount he doesn't have.
* An exception for when the user tries to subtract two different currencies or subtract an amount he doesn't have.
*/
public class CannotSubtractException extends Exception {
/**
Expand All @@ -12,4 +12,4 @@ public CannotSubtractException(String message) {
super(message);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word "diffrent" is misspelled as "different".

}

}
}
4 changes: 2 additions & 2 deletions update-method/etc/update-method.urm.puml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package com.iluwatar.updatemethod {
- PATROLLING_RIGHT_BOUNDING : int {static}
# patrollingLeft : boolean
+ Skeleton(id : int)
+ Skeleton(id : int, postition : int)
+ Skeleton(id : int, position : int)
+ update()
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word "postition" is misspelled as "position".

}
class Statue {
Expand Down Expand Up @@ -48,4 +48,4 @@ package com.iluwatar.updatemethod {
World --> "-entities" Entity
Skeleton --|> Entity
Statue --|> Entity
@enduml
@enduml
Loading