* We have to be careful to use the real Providers list instead of the one from the injected
* local providers field in this class. The injected object may be a "proxy" to the real
* providers, and could cause an infinite loop when ModelUtils.readValue calls back through
* the providers.
*/
SyndEntry returnVal = entry.toSynd(new SyndEntry());
SyndContent content = returnVal.getContent();
if (content != null) {
content.setProviders(RuntimeContextTLS.getRuntimeContext().getAttribute(Providers.class));
}