Description
how to use:
before:
return (XWikiRCSNodeContent) executeRead(context, bTransaction, new HibernateCallback() { public Object doInHibernate(Session session) throws HibernateException { ... return content; } });
after:
return executeRead(context, bTransaction, new HibernateCallback<XWikiRCSNodeContent>() { public XWikiRCSNodeContent doInHibernate(Session session) throws HibernateException { ... return content; } });
no class casting at all.