Using ClassUtils.forName rather than Class.forName

This commit is contained in:
Arjen Poutsma
2007-04-17 10:01:46 +00:00
parent 439934052f
commit a1e73ddf7f
4 changed files with 13 additions and 8 deletions

View File

@@ -30,6 +30,7 @@ import javax.xml.soap.SOAPMessage;
import org.springframework.core.io.Resource;
import org.springframework.util.Assert;
import org.springframework.util.ClassUtils;
import org.springframework.util.StringUtils;
import org.springframework.xml.namespace.QNameUtils;
import org.w3c.dom.Element;
@@ -56,7 +57,7 @@ public abstract class SaajUtils {
static {
try {
Class.forName(SAAJ_13_CLASS_NAME);
ClassUtils.forName(SAAJ_13_CLASS_NAME);
saajVersion = SAAJ_13;
}
catch (ClassNotFoundException ex) {