mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-16 12:59:13 +00:00
fix: typos in documentation files (#3186)
* Update CannotSubtractException.java * Update CachingTest.java * Update App.java * Update caching.urm.puml * Update update-method.urm.puml
This commit is contained in:
@@ -133,7 +133,7 @@ public class App {
|
||||
LOGGER.info(splitLine);
|
||||
app.useReadThroughAndWriteBehindStrategy();
|
||||
LOGGER.info(splitLine);
|
||||
app.useCacheAsideStategy();
|
||||
app.useCacheAsideStrategy();
|
||||
LOGGER.info(splitLine);
|
||||
}
|
||||
|
||||
@@ -224,7 +224,7 @@ public class App {
|
||||
/**
|
||||
* Cache-Aside.
|
||||
*/
|
||||
public void useCacheAsideStategy() {
|
||||
public void useCacheAsideStrategy() {
|
||||
LOGGER.info("# CachingPolicy.ASIDE");
|
||||
appManager.initCachingPolicy(CachingPolicy.ASIDE);
|
||||
LOGGER.info(appManager.printCacheContent());
|
||||
|
||||
@@ -68,6 +68,6 @@ class CachingTest {
|
||||
@Test
|
||||
void testCacheAsideStrategy() {
|
||||
assertNotNull(app);
|
||||
app.useCacheAsideStategy();
|
||||
app.useCacheAsideStrategy();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user