[jira] [Created] (ANY23-362) Resolve rdf4j deprecation warnings
Hans Brende created ANY23-362: - Summary: Resolve rdf4j deprecation warnings Key: ANY23-362 URL: https://issues.apache.org/jira/browse/ANY23-362 Project: Apache Any23 Issue Type: Sub-task Components: extractors, mime Affects Versions: 2.3 Reporter: Hans Brende Assignee: Hans Brende Fix For: 2.3 Resolve the following deprecation warnings occurring in {{o.a.a.mime.TikaMIMETypeDetector}}, {{o.a.a.extractor.rdf.RDFParserFactory}}, and {{o.a.a.rdf.RDFUtils}}: - org.eclipse.rdf4j.rio.RDFParser.DatatypeHandling in org.eclipse.rdf4j.rio.RDFParser has been deprecated - setDatatypeHandling(org.eclipse.rdf4j.rio.RDFParser.DatatypeHandling) in org.eclipse.rdf4j.rio.RDFParser has been deprecated - setStopAtFirstError(boolean) in org.eclipse.rdf4j.rio.RDFParser has been deprecated - setVerifyData(boolean) in org.eclipse.rdf4j.rio.RDFParser has been deprecated -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (ANY23-361) Resolve Tika deprecation warning
[ https://issues.apache.org/jira/browse/ANY23-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16538969#comment-16538969 ] ASF GitHub Bot commented on ANY23-361: -- 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 Date: 2018-07-10T17:08:23Z ANY23-361 resolved tika deprecation warning > Resolve Tika deprecation warning > > > Key: ANY23-361 > URL: https://issues.apache.org/jira/browse/ANY23-361 > Project: Apache Any23 > Issue Type: Sub-task > Components: mime >Affects Versions: 2.3 >Reporter: Hans Brende >Assignee: Hans Brende >Priority: Minor > Fix For: 2.3 > > > The following deprecation warning occurs in > {{o.a.a.mime.TikaMIMETypeDetector}}: > {{getMimeType(java.lang.String) in org.apache.tika.mime.MimeTypes has been > deprecated}} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] any23 pull request #96: ANY23-361 resolved tika deprecation warning
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 Date: 2018-07-10T17:08:23Z ANY23-361 resolved tika deprecation warning ---
[jira] [Created] (ANY23-361) Resolve Tika deprecation warning
Hans Brende created ANY23-361: - Summary: Resolve Tika deprecation warning Key: ANY23-361 URL: https://issues.apache.org/jira/browse/ANY23-361 Project: Apache Any23 Issue Type: Sub-task Components: mime Affects Versions: 2.3 Reporter: Hans Brende Assignee: Hans Brende Fix For: 2.3 The following deprecation warning occurs in {{o.a.a.mime.TikaMIMETypeDetector}}: {{getMimeType(java.lang.String) in org.apache.tika.mime.MimeTypes has been deprecated}} -- This message was sent by Atlassian JIRA (v7.6.3#76005)