File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
server/src/main/kotlin/org/javacs/kt/externalsources Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,11 @@ class ClassContentProvider(
35
35
* If the file is inside a source archive, the source code is returned as is.
36
36
*/
37
37
fun contentOf (uri : KlsURI ): Pair <KlsURI , String > {
38
+ LOG .info(" Resolving {} for contents" , uri)
38
39
val resolvedUri = sourceArchiveProvider.fetchSourceArchive(uri.archivePath)?.let (uri.withSource(true )::withArchivePath) ? : uri
39
40
val key = resolvedUri.toString()
40
41
val (contents, extension) = cachedContents[key] ? : run {
41
- LOG .info(" Finding contents of {}" , describeURI(resolvedUri.fileUri))
42
+ LOG .info(" Reading contents of {}" , describeURI(resolvedUri.fileUri))
42
43
tryReadContentOf(resolvedUri)
43
44
? : tryReadContentOf(resolvedUri.withFileExtension(" class" ))
44
45
? : tryReadContentOf(resolvedUri.withFileExtension(" java" ))
You can’t perform that action at this time.
0 commit comments