Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concurrency issues solved, upgraded versions of dependency libraries #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

liranms
Copy link

@liranms liranms commented Mar 29, 2015

The parser was not thread-safe, as it has internal state (private members), parsers in tika must not store state in their class, this would cause race condition and unexpected behavior and running tika in concurrent environment.

The following code fixes it by simply encapsulating the context in a static class and passing a new reference to the methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant