AsnFactory asnFactory = AsnFactory.newFactory(null);
AsnConfig asnConfig = asnFactory.getConfiguration();
if (asnConfig.getAreAssertionsEnabled()) {
AsnIndexReferences asnIndexRefs = asnConfig.getIndexReferences();
if (asnIndexRefs != null) {
for (AsnIndexReference asnIndexRef: asnIndexRefs.values()) {
if ((asnIndexRef != null) && asnIndexRef.getEnabled()) {
String asnLoc = asnIndexRef.getIndexLocation();
LOGGER.fine("Optimizing assertion index: "+asnLoc);
try {
long asnStartMillis = System.currentTimeMillis();