Skip to content

Comments

fix: remove unnecessary CMP ID check#2

Open
dgrdl wants to merge 1 commit intoyieldlab:masterfrom
dgrdl:remove-unnecessary-cmp-id-check
Open

fix: remove unnecessary CMP ID check#2
dgrdl wants to merge 1 commit intoyieldlab:masterfrom
dgrdl:remove-unnecessary-cmp-id-check

Conversation

@dgrdl
Copy link
Contributor

@dgrdl dgrdl commented Mar 5, 2021

In the latest update there is a bug with some CMPs setting their ID as either long or int type. This leads to an exception being thrown when a long is encountered while retrieving the value.

IMO it should not be necessary to check this additional value in the first place and I would propose to remove the check completely.

What do you think?

This fixes possible exceptions thrown due to incorrect types occurring from CMPs setting their ID as either Long or Int type.
@twz123 twz123 requested a review from mirkorean March 10, 2021 13:58
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