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

Fix: Changed statement like while to enhanced for loop and if to ternary operator #1757

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

mdxabu
Copy link
Contributor

@mdxabu mdxabu commented Feb 21, 2024

Dear Maintainers,

I wanted to inform you that I have made some modifications in two files: ContainersListElements.java and ContainerDetails.java. Specifically, I have changed the while loop to an enhanced for loop and altered the if statement to a ternary statement.

Best regards,
F Mohamed Abdullah

Copy link

codecov bot commented Feb 21, 2024

Codecov Report

Merging #1757 (30e6ace) into master (e8c5826) will decrease coverage by 0.02%.
The diff coverage is 33.33%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1757      +/-   ##
============================================
- Coverage     65.76%   65.74%   -0.02%     
  Complexity     2294     2294              
============================================
  Files           172      172              
  Lines         10184    10181       -3     
  Branches       1405     1405              
============================================
- Hits           6697     6693       -4     
- Misses         2934     2935       +1     
  Partials        553      553              
Files Coverage Δ
...ric8/maven/docker/model/ContainersListElement.java 62.22% <100.00%> (-1.61%) ⬇️
...o/fabric8/maven/docker/model/ContainerDetails.java 63.95% <0.00%> (-1.57%) ⬇️

@mdxabu mdxabu changed the title Fix: Changed sstatement like while to enhanced for loop and if to ternary operator Fix: Changed statement like while to enhanced for loop and if to ternary operator Feb 21, 2024
@mdxabu mdxabu requested a review from rohanKanojia February 21, 2024 18:04
… and Removed the if statement and replace with ternary statement in ContainerDetails.java

Signed-off-by: M. <[email protected]>
Co-Authored-By: Rohan Kumar <[email protected]>
Copy link

@mdxabu mdxabu requested a review from rohanKanojia February 22, 2024 10:14
@rohanKanojia rohanKanojia merged commit 2faa068 into fabric8io:master Feb 22, 2024
19 of 20 checks passed
@rohanKanojia
Copy link
Member

Thanks!

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