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

[EC2] Disable rule for float and double comparison #247

Closed
tttooommm56 opened this issue Nov 23, 2023 · 0 comments · Fixed by #251
Closed

[EC2] Disable rule for float and double comparison #247

tttooommm56 opened this issue Nov 23, 2023 · 0 comments · Fixed by #251
Assignees
Labels
🗃️ rule rule improvment or rule development or bug java 💉 bug Something isn't working

Comments

@tttooommm56
Copy link

Describe the bug
I cannot replace if statement by switch-case when if statement contains float or double value.
Switch-case statement cannot manage it.

Expected behavior
Exclude if statement which contains float and double value from EC2 rule.

Screenshots
image

Software Versions

  • SonarQube Version: Community EditionVersion 9.9 (build 65466)
  • Plugin Version: 1.3.0
@dedece35 dedece35 linked a pull request Dec 3, 2023 that will close this issue
@dedece35 dedece35 self-assigned this Dec 3, 2023
@dedece35 dedece35 added 💉 bug Something isn't working 🗃️ rule rule improvment or rule development or bug java 🔥 in progress 🔥 labels Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🗃️ rule rule improvment or rule development or bug java 💉 bug Something isn't working
Projects
None yet
2 participants