alanmehio commented on a change in pull request #762:
URL: https://github.com/apache/cxf/pull/762#discussion_r605700354
##########
File path:
core/src/main/java/org/apache/cxf/common/util/SpringClasspathScanner.java
##########
@@ -170,7 +170,8 @@ private static boolean isSpringInOsgi() {
private ResourcePatternResolver getResolver(ClassLoader loader) {
ResourcePatternResolver resolver = null;
- if (IN_OSGI) {
+ inOSGI = isSpringInOsgi();
Review comment:
@amarkevich The best place is to revert and place a static initializer
since it is not good idea to put a static method call into the constructor
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]