You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by GitBox <gi...@apache.org> on 2021/04/01 19:45:08 UTC

[GitHub] [cxf] amarkevich commented on a change in pull request #762: very minor SonarLint

amarkevich commented on a change in pull request #762:
URL: https://github.com/apache/cxf/pull/762#discussion_r605904012



##########
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:
       expected impl:
   `private static final boolean IN_OSGI = isSpringInOsgi();`




-- 
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:
users@infra.apache.org