GitHub user HansBrende opened a pull request:
https://github.com/apache/any23/pull/96
ANY23-361 resolved tika deprecation warning
1. resolved tika deprecation warning
2. refactored for code style
3. avoid NullPointerException in `guessMIMEType()`
4. avoid `SecurityException` in `getResourceAsStream()`
5. use synchronization in constructor when initializing static variables
@lewismc any comments?
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HansBrende/any23 ANY23-361
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/any23/pull/96.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #96
----
commit d2fcff4f50c6633cffb309440d00e73fd4c3290c
Author: Hans <firedrake93@...>
Date: 2018-07-10T17:08:23Z
ANY23-361 resolved tika deprecation warning
----
---