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

Added check/error in PdfPTable.addCell #1195

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

StevenStreasick
Copy link

Description of the new Feature/Bugfix

I added a custom error message to PdfPTable.addCell(PdfPTable table) if the user called addCell with itself as the parameter.

Related Issue: Previously, the error would grow in the terminal, which made it a nightmare to troubleshoot. The error was also not descriptive, makin it even harder to troubleshoot.

Unit-Tests for the new Feature/Bugfix

Compatibilities Issues

The PdfPTable.addCell method signature was changed - now it can throw a DocumentException, but no repository code should be impacted..

Your real name

Steven Streasick

Testing details

Copy link
Member

@asturio asturio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @StevenStreasick ,

could you take a look at these checkstyle errors and correct your PR?

Copy link

sonarcloud bot commented Aug 8, 2024

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.

2 participants