Skip to content

[CLI-326] Make Option.getKey() public#239

Merged
garydgregory merged 3 commits intoapache:masterfrom
Claudenw:CLI-326_make_option.getKey_public
Feb 29, 2024
Merged

[CLI-326] Make Option.getKey() public#239
garydgregory merged 3 commits intoapache:masterfrom
Claudenw:CLI-326_make_option.getKey_public

Conversation

@Claudenw
Copy link
Contributor

Fix for CLI-326

@Claudenw Claudenw self-assigned this Feb 27, 2024
@codecov-commenter
Copy link

codecov-commenter commented Feb 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.09%. Comparing base (9f6b23b) to head (be58c4f).
Report is 506 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #239      +/-   ##
============================================
+ Coverage     91.90%   92.09%   +0.19%     
- Complexity      575      592      +17     
============================================
  Files            22       22              
  Lines          1247     1265      +18     
  Branches        210      211       +1     
============================================
+ Hits           1146     1165      +19     
+ Misses           63       60       -3     
- Partials         38       40       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

* @return the 'unique' Option identifier
*/
String getKey() {
public String getKey() {
Copy link
Member

Choose a reason for hiding this comment

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

Hello @Claudenw
If you make an element public or protected, you need a @since Javadoc tag.

* @return the 'unique' Option identifier
*/
String getKey() {
public String getKey() {
Copy link
Contributor

Choose a reason for hiding this comment

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

It also needs more Javadoc to explain what the key means

@garydgregory
Copy link
Member

@Claudenw ping

@Claudenw
Copy link
Contributor Author

at a conference today. Will try to get to this.

@garydgregory garydgregory merged commit cb334bd into apache:master Feb 29, 2024
garydgregory added a commit that referenced this pull request Feb 29, 2024
@garydgregory garydgregory changed the title CLI-326: make option.getKey() public [CLI-326] Make Option.getKey() public Feb 29, 2024
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.

4 participants