From 6044bc92c89334497fd53c0d7c386942aeb8370d Mon Sep 17 00:00:00 2001 From: John Blum Date: Tue, 8 Dec 2020 19:54:00 -0800 Subject: [PATCH] Fix syntax error (misspelled class name) in a code snippet in the Inline Caching Sample Guide. --- .../docs/asciidoc/guides/caching-inline.adoc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/spring-geode-docs/src/docs/asciidoc/guides/caching-inline.adoc b/spring-geode-docs/src/docs/asciidoc/guides/caching-inline.adoc index 89972f20..de962353 100644 --- a/spring-geode-docs/src/docs/asciidoc/guides/caching-inline.adoc +++ b/spring-geode-docs/src/docs/asciidoc/guides/caching-inline.adoc @@ -360,12 +360,12 @@ This custom `KeyGenerator` was applied in the caching annotations of the service [source,java] ---- @Service -class CalculatorService ... { +class CalculatorService { - @Cacheable(... keyGenerator="resultKeyGenerator") - public int factorial(int number) { .. } + @Cacheable(keyGenerator="resultKeyGenerator") + public int factorial(int number) { } - ... + // ... } ---- @@ -387,13 +387,13 @@ in the `@Cacheable annotation on the individual service methods: [source,java] ---- @Service -class CalculatorService ... { +class CalculatorService { - @Cacheable(name = "Factorials" ...) - public int factorial(int number) { .. } + @Cacheable(name = "Factorials") + public int factorial(int number) { } - @Cacheable(name = "SquareRoots" ...) - public int sqrt(int number) { .. } + @Cacheable(name = "SquareRoots") + public int sqrt(int number) { } } ----