Ejemplo n.º 1
0
 /// <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();
             }
         }
     }
 }
Ejemplo n.º 2
0
 /// <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();
             }
         }
     }
 }