From b5a67071371124b0e672e4396262a21377a79ce8 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Tue, 11 Aug 2015 23:48:15 +0200 Subject: [PATCH] Fix layout in What's New section --- src/asciidoc/whats-new.adoc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/asciidoc/whats-new.adoc b/src/asciidoc/whats-new.adoc index b4c56ec621..1649290d57 100644 --- a/src/asciidoc/whats-new.adoc +++ b/src/asciidoc/whats-new.adoc @@ -424,6 +424,9 @@ method has been added. `@EventListener`, `@TransactionalEventListener`. ** For example, `@ContextConfiguration` from the `spring-test` module is now declared as follows: + ++ + [source,java,indent=0] [subs="verbatim,quotes"] ---- @@ -438,6 +441,9 @@ public @interface ContextConfiguration { // ... } ---- + ++ + ** Similarly, _composed annotations_ that override attributes from meta-annotations can now use `@AliasFor` for fine-grained control over exactly which attributes are overridden within an annotation @@ -445,6 +451,9 @@ public @interface ContextConfiguration { `value` attribute of a meta-annotation. ** For example, one can now develop a composed annotation with a custom attribute override as follows. + ++ + [source,java,indent=0] [subs="verbatim,quotes"] ---- @@ -457,6 +466,9 @@ public @interface MyTestConfig { // ... } ---- + ++ + ** See <>. * Numerous improvements to Spring's search algorithms used for finding meta-annotations. For example, locally declared _composed annotations_