Refine test

Issue: SPR-13837
This commit is contained in:
Stephane Nicoll 2016-01-19 15:11:58 +01:00
parent 9b9df6a744
commit 0d04af14f8
1 changed files with 15 additions and 5 deletions

View File

@ -2209,18 +2209,28 @@ public abstract class AbstractPropertyAccessorTests {
}
}
static class Spr13837Bean {
interface Spr13837 {
Integer getSomething();
<T extends Spr13837> T setSomething(Integer something);
}
static class Spr13837Bean implements Spr13837 {
protected Integer something;
@Override
public Integer getSomething() {
return this.something;
}
@Override
public Spr13837Bean setSomething(final Integer something) {
this.something = something;
return this;
}
public Integer getSomething() {
return this.something;
}
}
@SuppressWarnings("serial")