Internal: temporarily ban buggy IOUtils methods with forbidden
Closes #8375
This commit is contained in:
parent
a49b39cc21
commit
b8421e55fd
|
@ -3,3 +3,9 @@ java.net.URL#getPath()
|
||||||
java.net.URL#getFile()
|
java.net.URL#getFile()
|
||||||
|
|
||||||
java.io.File#delete() @ use Files.delete for real exception, IOUtils.deleteFilesIgnoringExceptions if you dont care
|
java.io.File#delete() @ use Files.delete for real exception, IOUtils.deleteFilesIgnoringExceptions if you dont care
|
||||||
|
|
||||||
|
# temporary situation, until we upgrade with LUCENE-6051 fix
|
||||||
|
# (at which point forbidden apis will fail and we remove this section)
|
||||||
|
@defaultMessage Use FileSystemUtils methods for now to workaround LUCENE-6051
|
||||||
|
org.apache.lucene.util.IOUtils#deleteFilesIgnoringExceptions(java.lang.Iterable)
|
||||||
|
org.apache.lucene.util.IOUtils#deleteFilesIfExist(java.lang.Iterable)
|
||||||
|
|
Loading…
Reference in New Issue