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

[TRDT-773] [CK] Remove warning suppression annotation. #133

Merged
merged 1 commit into from
Apr 28, 2023
Merged

Conversation

sudoku007
Copy link
Contributor

No description provided.

@sudoku007 sudoku007 requested a review from basotia March 30, 2023 11:26
@sudoku007 sudoku007 force-pushed the TRDT-773 branch 3 times, most recently from 71f6deb to eb302ca Compare April 28, 2023 09:27
private def customerTypeString(customerType: CustomerType) = customerType match {
case TaxPayer => "Individual"
case Agent => "Agent"
case _ => "Agent"
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess we should throw exception here as well case _ => throw new IllegalStateException(s"Invalid $customerType")

@basotia basotia merged commit 46047e8 into main Apr 28, 2023
@basotia basotia deleted the TRDT-773 branch April 28, 2023 10:20
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