Skip to content

Commit 018ba92

Browse files
hrybsrstoyanchev
authored andcommitted
Fix formatting in AOP examples in documentation
1 parent f519588 commit 018ba92

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/docs/asciidoc/core/core-aop.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ application and particular sets of operations from within several aspects. We re
529529
defining a "`SystemArchitecture`" aspect that captures common pointcut expressions for
530530
this purpose. Such an aspect typically resembles the following example:
531531

532-
[source,java,indent=0,subs="verbatim,quotes",role="primary"]
532+
[source,java,indent=0,subs="verbatim",role="primary"]
533533
.Java
534534
----
535535
package com.xyz.someapp;
@@ -591,7 +591,7 @@ this purpose. Such an aspect typically resembles the following example:
591591
592592
}
593593
----
594-
[source,kotlin,indent=0,subs="verbatim,quotes",role="secondary"]
594+
[source,kotlin,indent=0,subs="verbatim",role="secondary"]
595595
.Kotlin
596596
----
597597
package com.xyz.someapp
@@ -950,7 +950,7 @@ You can declare before advice in an aspect by using the `@Before` annotation:
950950
If we use an in-place pointcut expression, we could rewrite the preceding example as the
951951
following example:
952952

953-
[source,java,indent=0,subs="verbatim,quotes",role="primary"]
953+
[source,java,indent=0,subs="verbatim",role="primary"]
954954
.Java
955955
----
956956
import org.aspectj.lang.annotation.Aspect;
@@ -966,7 +966,7 @@ following example:
966966
967967
}
968968
----
969-
[source,kotlin,indent=0,subs="verbatim,quotes",role="secondary"]
969+
[source,kotlin,indent=0,subs="verbatim",role="secondary"]
970970
.Kotlin
971971
----
972972
import org.aspectj.lang.annotation.Aspect
@@ -3681,7 +3681,7 @@ use @AspectJ with <<beans-java, Java configuration>>. Specifically, you can use
36813681
The following example shows the profiling aspect, which is not fancy.
36823682
It is a time-based profiler that uses the @AspectJ-style of aspect declaration:
36833683

3684-
[source,java,indent=0,subs="verbatim,quotes",role="primary"]
3684+
[source,java,indent=0,subs="verbatim",role="primary"]
36853685
.Java
36863686
----
36873687
package foo;
@@ -3712,7 +3712,7 @@ It is a time-based profiler that uses the @AspectJ-style of aspect declaration:
37123712
public void methodsToBeProfiled(){}
37133713
}
37143714
----
3715-
[source,kotlin,indent=0,subs="verbatim,quotes",role="secondary"]
3715+
[source,kotlin,indent=0,subs="verbatim",role="secondary"]
37163716
.Kotlin
37173717
----
37183718
package foo

0 commit comments

Comments
 (0)