WW-3045 Replace TextUtils String methods

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@755410 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Musachy Barroso
2009-03-17 21:50:59 +00:00
parent 21ccc48d9e
commit a2d87bd21f
@@ -46,6 +46,7 @@ import org.apache.struts2.convention.annotation.ParentPackage;
import org.apache.struts2.convention.classloader.ReloadingClassLoader;
import org.apache.struts2.StrutsConstants;
import org.apache.struts2.StrutsException;
import org.apache.commons.lang.xwork.StringUtils;
import com.opensymphony.xwork2.ObjectFactory;
import com.opensymphony.xwork2.config.Configuration;
@@ -163,7 +164,7 @@ public class PackageBasedActionConfigBuilder implements ActionConfigBuilder {
*/
@Inject(value = "struts.convention.action.includeJars", required = false)
public void setIncludeJars(String includeJars) {
if (TextUtils.stringSet(includeJars))
if (StringUtils.isNotEmpty(includeJars))
this.includeJars = includeJars.split("\\s*[,]\\s*");
}