Skip to content
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

fix: typos in documentation files #3186

Merged
merged 5 commits into from
Feb 16, 2025
Merged

Conversation

maximevtush
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Feb 9, 2025

PR Summary

This PR fixes typos across various documentation files and source code. The caching.urm.puml, update-method.urm.puml, App.java, CachingTest.java, and CannotSubtractException.java files have been updated to correct spelling and naming inconsistencies.

Changes

File Summary
caching/etc/caching.urm.puml Corrected the typo in useCacheAsideStategy() to useCacheAsideStrategy() in the plantuml diagram.
caching/src/main/java/com/iluwatar/caching/App.java Updated useCacheAsideStategy() method name to useCacheAsideStrategy() for consistency.
caching/src/test/java/com/iluwatar/caching/CachingTest.java Fixed the typo in testCacheAsideStategy() method name to testCacheAsideStrategy().
money/src/main/java/com/iluwatar/CannotSubtractException.java Corrected a typo in the Javadoc description, changing diffrent to different.
update-method/etc/update-method.urm.puml Corrected the typo in postition to position in the plantuml diagram.

autogenerated by presubmit.ai

@@ -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".

@@ -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".

@@ -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".

@@ -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".

@@ -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".

@iluwatar iluwatar merged commit 2e7eef1 into iluwatar:master Feb 16, 2025
2 checks passed
@iluwatar
Copy link
Owner

Looks good! Thank you for the contribution 🎉

@all-contributors please add @maximevtush for code

Copy link
Contributor

@iluwatar

I've put up a pull request to add @maximevtush! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants