HHH-8934 - protect dumping manually built jandex index using isTraceEnabled
This commit is contained in:
parent
6bdbde9734
commit
76a2fc4b0f
|
@ -643,9 +643,11 @@ public class MetadataSources {
|
|||
}
|
||||
}
|
||||
|
||||
Index jandexIndex = indexer.complete();
|
||||
jandexIndex.printSubclasses();
|
||||
jandexIndex.printAnnotations();
|
||||
final Index jandexIndex = indexer.complete();
|
||||
if ( log.isTraceEnabled() ) {
|
||||
jandexIndex.printSubclasses();
|
||||
jandexIndex.printAnnotations();
|
||||
}
|
||||
return jandexIndex;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue