Author: julien_viet
Date: 2010-01-10 19:22:38 -0500 (Sun, 10 Jan 2010)
New Revision: 1218
Modified:
portal/trunk/webui/core/src/main/java/org/exoplatform/webui/application/WebuiApplication.java
Log:
unecessary cast
Modified:
portal/trunk/webui/core/src/main/java/org/exoplatform/webui/application/WebuiApplication.java
===================================================================
---
portal/trunk/webui/core/src/main/java/org/exoplatform/webui/application/WebuiApplication.java 2010-01-11
00:15:37 UTC (rev 1217)
+++
portal/trunk/webui/core/src/main/java/org/exoplatform/webui/application/WebuiApplication.java 2010-01-11
00:22:38 UTC (rev 1218)
@@ -112,7 +112,7 @@
}
T uicomponent = Util.createObject(type, config.getInitParams());
uicomponent.setComponentConfig(id, config);
- return type.cast(uicomponent);
+ return uicomponent;
}
public Set<UIComponent> getDefaultUIComponentToUpdateByAjax(WebuiRequestContext
context)