/// <summary> /// Called to complete TermInfos creation. </summary> public void Dispose() { try { Output.Seek(4); // write size after format Output.WriteInt64(Size); } finally { try { Output.Dispose(); } finally { if (!IsIndex) { Other.Dispose(); } } } }
/// <summary> /// Called to complete TermInfos creation. </summary> public void Dispose() { try { output.Seek(4); // write size after format output.WriteInt64(size); } finally { try { output.Dispose(); } finally { if (!isIndex) { other.Dispose(); } } } }