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

Update DescriptorChecks.java #41

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AbhinavJha1023
Copy link

✅ Code clarity – Improved method descriptions and parameter names. ✅ Annotations for safety – @nonnull ensures parameters are not null. ✅ Consistency – The parameter name startValue is more readable than startval.

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

✅ Code clarity – Improved method descriptions and parameter names.
✅ Annotations for safety – @nonnull ensures parameters are not null.
✅ Consistency – The parameter name startValue is more readable than startval.
@AbhinavJha1023 AbhinavJha1023 requested a review from a team as a code owner March 22, 2025 14:28

FormValidation doCheckStartval(@QueryParameter String startval);
/**
Copy link
Contributor

Choose a reason for hiding this comment

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

Does change of parameter name cause backwards compatibility issue?

Copy link
Author

Choose a reason for hiding this comment

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

yes it does
lemme close this pr and open a new one with a code that overcomes this issue

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