mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
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:
+2
-1
@@ -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*");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user