fixed JSP SelectTag's support for rendering enum constants (SPR-7112)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3279 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
parent
96b0e2578c
commit
3d823ad811
|
|
@ -135,7 +135,7 @@ class OptionWriter {
|
|||
else if (this.optionSource instanceof Map) {
|
||||
renderFromMap(tagWriter);
|
||||
}
|
||||
else if (this.optionSource instanceof Class && this.optionSource.getClass().isEnum()) {
|
||||
else if (this.optionSource instanceof Class && ((Class) this.optionSource).isEnum()) {
|
||||
renderFromEnum(tagWriter);
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue