Add IndexReader reference counting methods to forbidden APIs.

This commit is contained in:
Adrien Grand 2014-02-06 20:47:31 +01:00
parent 2b0e580046
commit fa094a46fd
1 changed files with 4 additions and 0 deletions

View File

@ -20,3 +20,7 @@ java.io.StringReader#<init>(java.lang.String) @ Use FastStringReader instead
org.apache.lucene.util.RamUsageEstimator#sizeOf(java.lang.Object) @ This can be a perfromance trap
@defaultMessage Reference management is tricky, leave it to SearcherManager
org.apache.lucene.index.IndexReader#decRef()
org.apache.lucene.index.IndexReader#incRef()
org.apache.lucene.index.IndexReader#tryIncRef()