[ https://issues.apache.org/jira/browse/ANY23-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16437563#comment-16437563 ]
ASF GitHub Bot commented on ANY23-334: -------------------------------------- GitHub user HansBrende opened a pull request: https://github.com/apache/any23/pull/79 ANY23-334 fixed: default language was a UUID mvn clean test -> all tests pass You can merge this pull request into a Git repository by running: $ git pull https://github.com/HansBrende/any23 ANY23-334 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/any23/pull/79.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 #79 ---- commit 53e9cdd69632c1b73fb4a1eb3348352a5e241b82 Author: Hans <firedrake93@...> Date: 2018-04-13T16:47:03Z ANY23-334 fixed: default language was a UUID ---- > SingleDocumentExtraction.createExtractionContext() uses UUID as > defaultLanguage > ------------------------------------------------------------------------------- > > Key: ANY23-334 > URL: https://issues.apache.org/jira/browse/ANY23-334 > Project: Apache Any23 > Issue Type: Bug > Components: core > Affects Versions: 2.2 > Reporter: Hans Brende > Priority: Major > Fix For: 2.3 > > > {code}SingleDocumentExtraction.createExtractionContext() {code} > returns an extraction context with defaultLanguage set to: > {code}UUID.randomUUID().toString(){code} > I'm assuming this was meant to be localID rather than defaultLanguage. > Here are the links to the relevant lines of code: > [SingleDocumentExtraction.createExtractionContext()|https://github.com/apache/any23/blob/1867cc66de9a82cd98f1962fdabbd3a8680ff408/core/src/main/java/org/apache/any23/extractor/SingleDocumentExtraction.java#L648] > [ExtractionContext(String extractorName, IRI documentIRI, String > defaultLanguage)|https://github.com/apache/any23/blob/1867cc66de9a82cd98f1962fdabbd3a8680ff408/api/src/main/java/org/apache/any23/extractor/ExtractionContext.java#L61] -- This message was sent by Atlassian JIRA (v7.6.3#76005)