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

SE: Add NumberConstraint #7157

Merged
merged 3 commits into from
May 3, 2023
Merged

Conversation

pavel-mikula-sonarsource
Copy link
Contributor

Part of #7140

@pavel-mikula-sonarsource pavel-mikula-sonarsource added the Sprint: SE Short-lived* label for epic MMF-3077 *troll label May 2, 2023
@github-actions github-actions bot added this to In progress in Best Kanban May 2, 2023
@github-actions github-actions bot moved this from In progress to Review in progress in Best Kanban May 2, 2023
@sonarcloud
Copy link

sonarcloud bot commented May 2, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@sonarcloud
Copy link

sonarcloud bot commented May 2, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@Tim-Pohlmann Tim-Pohlmann moved this from Review in progress to In progress in Best Kanban May 2, 2023
@github-actions github-actions bot moved this from In progress to Review in progress in Best Kanban May 3, 2023
Copy link
Contributor

@Tim-Pohlmann Tim-Pohlmann left a comment

Choose a reason for hiding this comment

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

Let's rename the parameters for clarity. LGTM otherwise.

}
}

public static NumberConstraint From(BigInteger? min, BigInteger? max)
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's rename the parameters (also change them for the private constructor). I think boundary1 and boundary2 are appropriate.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

boundary1 and boundary2 doesn't work for infinite ranges, like > 0 where min=0, max=null

@github-actions github-actions bot moved this from Review in progress to Review approved in Best Kanban May 3, 2023
@pavel-mikula-sonarsource pavel-mikula-sonarsource merged commit 75a2482 into master May 3, 2023
32 checks passed
Best Kanban automation moved this from Review approved to Validate Peach May 3, 2023
@pavel-mikula-sonarsource pavel-mikula-sonarsource deleted the Pavel/NumberConstraint branch May 3, 2023 09:38
@pavel-mikula-sonarsource pavel-mikula-sonarsource moved this from Validate Peach to Done in Best Kanban May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sprint: SE Short-lived* label for epic MMF-3077 *troll
Projects
Best Kanban
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants