File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -113,8 +113,11 @@ internal sealed class IndexFileDeleter : IDisposable
113
113
/// Change to true to see details of reference counts when
114
114
/// infoStream is enabled
115
115
/// </summary>
116
+ /// <remarks>
117
+ /// LUCENENET specific - was <c>VERBOSE_REF_COUNTS</c> in Java.
118
+ /// </remarks>
116
119
// 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 ;
118
121
119
122
// Used only for assert
120
123
private readonly IndexWriter writer ;
@@ -568,7 +571,7 @@ internal void IncRef(string fileName)
568
571
RefCount rc = GetRefCount ( fileName ) ;
569
572
if ( infoStream . IsEnabled ( "IFD" ) )
570
573
{
571
- if ( VERBOSE_REF_COUNTS )
574
+ if ( VerboseRefCounts )
572
575
{
573
576
infoStream . Message ( "IFD" , " IncRef \" " + fileName + "\" : pre-incr count is " + rc . count ) ;
574
577
}
@@ -591,7 +594,7 @@ internal void DecRef(string fileName)
591
594
RefCount rc = GetRefCount ( fileName ) ;
592
595
if ( infoStream . IsEnabled ( "IFD" ) )
593
596
{
594
- if ( VERBOSE_REF_COUNTS )
597
+ if ( VerboseRefCounts )
595
598
{
596
599
infoStream . Message ( "IFD" , " DecRef \" " + fileName + "\" : pre-decr count is " + rc . count ) ;
597
600
}
You can’t perform that action at this time.
0 commit comments