Revert extra logging not to flood logs
This commit is contained in:
@@ -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!!!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user