Skip to content

DbException migrated to immutable class#58

Open
matteobaccan wants to merge 1 commit intodieselpoint:masterfrom
matteobaccan:ExceptionImmutable
Open

DbException migrated to immutable class#58
matteobaccan wants to merge 1 commit intodieselpoint:masterfrom
matteobaccan:ExceptionImmutable

Conversation

@matteobaccan
Copy link
Copy Markdown
Contributor

Hi

I have changed the DbException to transform into an immutable class.
Is a Java best practice

See here for more info https://rules.sonarsource.com/java/RSPEC-1165

all the best
matteo baccan

@ccleve
Copy link
Copy Markdown
Member

ccleve commented Jun 21, 2021

Yes, this is a better way to do it, but it introduces a backward compatibility issue. Will have to wait for a major version change.

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