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: WatchService : Anonymous new Runnable() can be replaced with lambda #1783

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

mdxabu
Copy link
Contributor

@mdxabu mdxabu commented Apr 15, 2024

Dear @rohanKanojia ,

I have made the changes as you requested. The new Runnable() has been changed to a lambda function.

  • Replaced Anonymous new Runnable() with lamba
  • Used isEmpty() in place of size>0 check

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
14.3% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@rohanKanojia rohanKanojia merged commit 25e772e into fabric8io:master Apr 24, 2024
18 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.

2 participants