Revision 53582
Added by Antonis Lempesis about 5 years ago
modules/uoa-validator-service/trunk/src/main/java/eu/dnetlib/validator/service/config/ValidatorServiceContextLoaderListener.java | ||
---|---|---|
4 | 4 |
|
5 | 5 |
import javax.servlet.ServletContext; |
6 | 6 |
|
7 |
import org.apache.commons.lang.ArrayUtils; |
|
7 |
import org.apache.commons.lang3.ArrayUtils;
|
|
8 | 8 |
import org.apache.log4j.Logger; |
9 | 9 |
import org.springframework.beans.BeansException; |
10 | 10 |
import org.springframework.context.support.ClassPathXmlApplicationContext; |
... | ... | |
89 | 89 |
ctx.setConfigLocations(springContextCore); |
90 | 90 |
} else { |
91 | 91 |
logger.debug("Loading contexts for dnet"); |
92 |
ctx.setConfigLocations((String[])ArrayUtils.addAll(springContextCore,springContextForIS)); |
|
92 |
ctx.setConfigLocations((String[]) |
|
93 |
ArrayUtils.addAll(springContextCore,springContextForIS)); |
|
93 | 94 |
} |
94 | 95 |
|
95 | 96 |
ctx.refresh(); |
Also available in: Unified diff
moved to commons-lang 3