File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed
spring-beans/src/test/java/org/springframework/beans Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -2209,18 +2209,28 @@ public static void setProp1(String prop1) {
2209
2209
}
2210
2210
}
2211
2211
2212
- static class Spr13837Bean {
2212
+ interface Spr13837 {
2213
+
2214
+ Integer getSomething ();
2215
+
2216
+ <T extends Spr13837 > T setSomething (Integer something );
2217
+
2218
+ }
2219
+
2220
+ static class Spr13837Bean implements Spr13837 {
2213
2221
2214
2222
protected Integer something ;
2215
2223
2224
+ @ Override
2225
+ public Integer getSomething () {
2226
+ return this .something ;
2227
+ }
2228
+
2229
+ @ Override
2216
2230
public Spr13837Bean setSomething (final Integer something ) {
2217
2231
this .something = something ;
2218
2232
return this ;
2219
2233
}
2220
-
2221
- public Integer getSomething () {
2222
- return this .something ;
2223
- }
2224
2234
}
2225
2235
2226
2236
@ SuppressWarnings ("serial" )
You can’t perform that action at this time.
0 commit comments