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

Add displayName method for Action Execution enum #6056

Merged
merged 3 commits into from
Oct 24, 2024

Conversation

osandamaleesha
Copy link
Contributor

Proposed changes in this PR

This PR adds a displayName method for ActionType enum in action execution component

Related Issues

ashanthamara
ashanthamara previously approved these changes Oct 24, 2024
Copy link

codecov bot commented Oct 24, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 40.25%. Comparing base (7ede5eb) to head (7628689).
Report is 79 commits behind head on master.

Files with missing lines Patch % Lines
...on/identity/action/execution/model/ActionType.java 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master    #6056   +/-   ##
=========================================
  Coverage     40.24%   40.25%           
- Complexity    14338    14340    +2     
=========================================
  Files          1746     1746           
  Lines        118245   118269   +24     
  Branches      19220    19225    +5     
=========================================
+ Hits          47590    47604   +14     
- Misses        63338    63346    +8     
- Partials       7317     7319    +2     
Flag Coverage Δ
unit 24.50% <50.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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


public String getDisplayName() {

return Action.ActionTypes.valueOf(this.value).getDisplayName();
Copy link
Member

Choose a reason for hiding this comment

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

we don't need this string instance variable right ? why not just use this.name()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated in 7628689

Copy link

sonarcloud bot commented Oct 24, 2024

@ashanthamara ashanthamara merged commit 7092976 into wso2:master Oct 24, 2024
5 checks passed
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.

3 participants