mainExtentDecl = extentDecl;
} else {
FileDescriptor fileDescriptor =
IOUtils.readFileDescriptor(extentDecl.getExtentFile());
Extent extent = createExtent(fileDescriptor, extentDecl);
extents.add(extent);
}
}
Descriptor desc = new Descriptor(file, header, extents, diskDatabase);
Extent mainExtent = createMainExtent(desc, mainExtentDecl);
extents.add(0, mainExtent);
return desc;
} finally {
if (br != null) {