File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,8 +113,11 @@ internal sealed class IndexFileDeleter : IDisposable
113113 /// Change to true to see details of reference counts when
114114 /// infoStream is enabled
115115 /// </summary>
116+ /// <remarks>
117+ /// LUCENENET specific - was <c>VERBOSE_REF_COUNTS</c> in Java.
118+ /// </remarks>
116119 // LUCENENET specific - changed from a mutable static field to a property
117- public static bool VERBOSE_REF_COUNTS { get ; set ; } = false ;
120+ public static bool VerboseRefCounts { get ; set ; } = false ;
118121
119122 // Used only for assert
120123 private readonly IndexWriter writer ;
@@ -568,7 +571,7 @@ internal void IncRef(string fileName)
568571 RefCount rc = GetRefCount ( fileName ) ;
569572 if ( infoStream . IsEnabled ( "IFD" ) )
570573 {
571- if ( VERBOSE_REF_COUNTS )
574+ if ( VerboseRefCounts )
572575 {
573576 infoStream . Message ( "IFD" , " IncRef \" " + fileName + "\" : pre-incr count is " + rc . count ) ;
574577 }
@@ -591,7 +594,7 @@ internal void DecRef(string fileName)
591594 RefCount rc = GetRefCount ( fileName ) ;
592595 if ( infoStream . IsEnabled ( "IFD" ) )
593596 {
594- if ( VERBOSE_REF_COUNTS )
597+ if ( VerboseRefCounts )
595598 {
596599 infoStream . Message ( "IFD" , " DecRef \" " + fileName + "\" : pre-decr count is " + rc . count ) ;
597600 }
You can’t perform that action at this time.
0 commit comments