Browse Source

Fix interface and class names in examples in core-aop doc

Closes gh-25351
pull/27093/head
Maksim 5 years ago committed by Sam Brannen
parent
commit
008a0a1bdd
  1. 4
      src/docs/asciidoc/core/core-aop.adoc

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

@ -2410,7 +2410,7 @@ some around advice used in conjunction with a number of strongly typed parameter @@ -2410,7 +2410,7 @@ some around advice used in conjunction with a number of strongly typed parameter
Person getPerson(String personName, int age);
}
public class DefaultFooService implements FooService {
public class DefaultPersonService implements PersonService {
public Person getPerson(String name, int age) {
return new Person(name, age);
@ -2427,7 +2427,7 @@ some around advice used in conjunction with a number of strongly typed parameter @@ -2427,7 +2427,7 @@ some around advice used in conjunction with a number of strongly typed parameter
fun getPerson(personName: String, age: Int): Person
}
class DefaultFooService : FooService {
class DefaultPersonService : PersonService {
fun getPerson(name: String, age: Int): Person {
return Person(name, age)

Loading…
Cancel
Save