I am a lawyer, but this is not legal advice.
As a general rule, if the code is included in your project, you're bound by the
license under which that code is made available. That includes dependencies.
There may be some exceptions depending on the license(s) and how they all plug
together (as
That looks like a bug in TikaUtils.
For whatever reason, when is.available() returns 0, we are then assuming that
fileUrl is not null. We need to check to make sure that fileUrl is not null
before trying to open the file.
if(is.available() == 0 !.equals(fileUrl)){
...
return