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

Closes gh-25351
This commit is contained in:
Maksim 2020-07-01 10:32:54 +03:00 committed by Sam Brannen
parent 5b94d9b00b
commit 008a0a1bdd
1 changed files with 2 additions and 2 deletions

View File

@ -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
fun getPerson(personName: String, age: Int): Person
}
class DefaultFooService : FooService {
class DefaultPersonService : PersonService {
fun getPerson(name: String, age: Int): Person {
return Person(name, age)