Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.8.6
-
None
Description
This will compile:
static <T> T getBean(final Class<T> clazz) {
return null
}
but this will not:
<T> T getBean(final Class<T> clazz) {
return null
}
Both forms are legal Java constructs.