Skip to content

Commit 07d2b8c

Browse files
mp911dechristophstrobl
authored andcommitted
DATAKV-268 - Polishing.
Original Pull Request: #46
1 parent e912874 commit 07d2b8c

File tree

1 file changed

+5
-9
lines changed
  • src/main/java/org/springframework/data/keyvalue/annotation

1 file changed

+5
-9
lines changed

src/main/java/org/springframework/data/keyvalue/annotation/KeySpace.java

+5-9
Original file line numberDiff line numberDiff line change
@@ -29,33 +29,29 @@
2929
* entity should reside in. If present the value will be picked up for resolving the keyspace. The {@link #value()}
3030
* attribute supports SpEL expressions to dynamically resolve the keyspace based on a per-operation basis.
3131
*
32-
* <pre>
33-
* <code>
32+
* <pre class="code">
3433
* &#64;Persistent
3534
* &#64;Retention(RetentionPolicy.RUNTIME)
3635
* &#64;Target({ ElementType.TYPE })
3736
* static @interface CacheCentricAnnotation {
3837
*
39-
* &#64;AliasFor(annotation = KeySpace.class, attribute = "value")
40-
* String cacheRegion() default "";
38+
* &#64;AliasFor(annotation = KeySpace.class, attribute = "value")
39+
* String cacheRegion() default "";
4140
* }
4241
*
4342
* &#64;CacheCentricAnnotation(cacheRegion = "customers")
4443
* class Customer {
45-
* //...
44+
* // ...
4645
* }
47-
* </code>
4846
* </pre>
4947
*
5048
* Can also be directly used on types to indicate the keyspace.
5149
*
52-
* <pre>
53-
* <code>
50+
* <pre class="code">
5451
* &#64;KeySpace("persons")
5552
* public class Foo {
5653
*
5754
* }
58-
* </code>
5955
* </pre>
6056
*
6157
* @author Christoph Strobl

0 commit comments

Comments
 (0)