File tree Expand file tree Collapse file tree
microsphere-java-core/src/main/java/io/microsphere/classloading Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,7 +119,6 @@ public List<Artifact> detect(@Nullable Set<URL> classPathURLs) {
119119 Artifact artifact = detect (classPathURL );
120120 if (artifact != null ) {
121121 artifactList .add (artifact );
122- break ;
123122 }
124123 }
125124 return unmodifiableList (artifactList );
@@ -137,13 +136,15 @@ public Artifact detect(@Nonnull URL classPathURL) {
137136 for (ArtifactResourceResolver artifactResourceResolver : artifactResourceResolvers ) {
138137 artifact = artifactResourceResolver .resolve (classPathURL );
139138 if (artifact != null ) {
139+ if (logger .isTraceEnabled ()) {
140+ logger .trace ("The {} was detected from the URL of Class-Path : {}" , artifact , classPathURL );
141+ }
140142 break ;
141143 }
142144 }
143145 return artifact ;
144146 }
145147
146-
147148 protected Set <URL > getClassPathURLs (boolean includedJdkLibraries ) {
148149 Set <URL > urls = findAllClassPathURLs (classLoader );
149150 Set <URL > classPathURLs = new LinkedHashSet <>(urls );
You can’t perform that action at this time.
0 commit comments