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

Use setter method to derive the type of property #16551

Merged
merged 1 commit into from
Apr 15, 2021

Conversation

cavelo-anoop
Copy link
Contributor

The extension does not allow to set parser config, if the parser implementation does not have a getter method for the config. I came across this limitation while using Tesseract parser and wanted to set tesseractPath and tessdataPath. There were setter methods for both the configurations but no getters and the extension would throw an exception.

The solution is to get the setter method and get the type of the parameter.

@quarkus-bot
Copy link

quarkus-bot bot commented Apr 15, 2021

Thanks for your pull request!

The title of your pull request does not follow our editorial rules. Could you have a look?

  • title should preferably start with an uppercase character (if it makes sense!)

This message is automatically generated by a bot.

@cavelo-anoop cavelo-anoop changed the title [extension/tika] use setter method to derive the type of property Use setter method to derive the type of property Apr 15, 2021
@geoand geoand requested a review from sberyozkin April 15, 2021 14:09
@sberyozkin
Copy link
Member

@cavelo-anoop Thanks, it looks fine

@sberyozkin sberyozkin merged commit 1321e3f into quarkusio:main Apr 15, 2021
@quarkus-bot quarkus-bot bot added this to the 2.0 - main milestone Apr 15, 2021
@gsmet gsmet modified the milestones: 2.0.0.Alpha1, 1.13.3.Final Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants