We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The AdaptyErrorCode variables are currently declared as static final.
AdaptyErrorCode
static final
This makes it impossible to use the error codes with the switch expression.
switch
I suggest the following code changes to all static variables:
class AdaptyErrorCode { static final int unknown = 0; // to static const int unknown = 0; ...
The text was updated successfully, but these errors were encountered:
Hi @jezsung! That seems to be a good enhancement. I think we will implement that in the next release. Thank you!
Sorry, something went wrong.
No branches or pull requests
The
AdaptyErrorCode
variables are currently declared asstatic final
.This makes it impossible to use the error codes with the
switch
expression.I suggest the following code changes to all static variables:
The text was updated successfully, but these errors were encountered: