Revert extra logging not to flood logs

This commit is contained in:
BoykoAlex
2022-05-11 11:57:46 -04:00
parent df8f3b01f5
commit 7c72bdd6e9
2 changed files with 0 additions and 7 deletions

View File

@@ -77,15 +77,11 @@ public class BasicJandexIndex {
Tuple2<IJavaModuleData, ClassInfo> getClassByName(DotName fqName) {
for (ModuleJandexIndex m : modules) {
log.info("Looking for classpath container for type " + (fqName == null ? "null" : fqName) + " conatiner: " + (m.getContainer() == null ? "null" : m.getContainer()));
IndexView indexView = m.getIndex().get();
if (indexView != null) {
ClassInfo info = indexView.getClassByName(fqName);
if (info != null) {
log.info("Info found");
return Tuples.of(m, info);
} else {
log.info("No info!!!");
}
}
}

View File

@@ -85,9 +85,6 @@ public interface SourceLinks {
public static Optional<URL> source(IJavaProject project, String fqName) {
// Try to find in a source JAR
IJavaModuleData classpathResourceContainer = project.getIndex().findClasspathResourceContainer(fqName);
if (classpathResourceContainer == null) {
log.info("No classpath resource container found!!!");
}
if (classpathResourceContainer != null) {
Optional<URL> url = IClasspathUtil.sourceContainer(project.getClasspath(), classpathResourceContainer.getContainer()).map(file -> {
try {