fix-warning(ResourceUrlResolver)

fix the warning in resolveHtml method