Skip to content

Commit 6044bc9

Browse files
committed
Fix syntax error (misspelled class name) in a code snippet in the Inline Caching Sample Guide.
1 parent 4c347f8 commit 6044bc9

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

spring-geode-docs/src/docs/asciidoc/guides/caching-inline.adoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -360,12 +360,12 @@ This custom `KeyGenerator` was applied in the caching annotations of the service
360360
[source,java]
361361
----
362362
@Service
363-
class CalculatorService ... {
363+
class CalculatorService {
364364
365-
@Cacheable(... keyGenerator="resultKeyGenerator")
366-
public int factorial(int number) { .. }
365+
@Cacheable(keyGenerator="resultKeyGenerator")
366+
public int factorial(int number) { }
367367
368-
...
368+
// ...
369369
}
370370
----
371371

@@ -387,13 +387,13 @@ in the `@Cacheable annotation on the individual service methods:
387387
[source,java]
388388
----
389389
@Service
390-
class CalculatorService ... {
390+
class CalculatorService {
391391
392-
@Cacheable(name = "Factorials" ...)
393-
public int factorial(int number) { .. }
392+
@Cacheable(name = "Factorials")
393+
public int factorial(int number) { }
394394
395-
@Cacheable(name = "SquareRoots" ...)
396-
public int sqrt(int number) { .. }
395+
@Cacheable(name = "SquareRoots")
396+
public int sqrt(int number) { }
397397
398398
}
399399
----

0 commit comments

Comments
 (0)