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

Make some of the Java classes proper utilities #894

Conversation

vil02
Copy link
Contributor

@vil02 vil02 commented Oct 11, 2023

Purpose

Fixes ballerina-platform/ballerina-library#4910.

Examples

Checklist

  • Linked to an issue
  • Updated the changelog
  • Added tests
  • Updated the spec
  • Checked native-image compatibility

vil02 added 3 commits October 11, 2023 20:29
Made the design cleaner by marking Java classes as `final`
and explicitly declaring their default constructors as `private`.
This change makes the code coverage reports more accurate.
Fixes #4910.
@vil02 vil02 changed the title Make java classes proper utilities Make some of the Java classes proper utilities Oct 11, 2023
@codecov
Copy link

codecov bot commented Oct 13, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (025ac4c) 89.03% compared to head (51b2145) 89.14%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #894      +/-   ##
============================================
+ Coverage     89.03%   89.14%   +0.10%     
  Complexity       37       37              
============================================
  Files            15       15              
  Lines           830      829       -1     
  Branches        448      448              
============================================
  Hits            739      739              
+ Misses           87       86       -1     
  Partials          4        4              
Files Coverage Δ
...stdlib/websubhub/NativeHttpToWebsubhubAdaptor.java 96.29% <ø> (+1.17%) ⬆️

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

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@ThisaruGuruge ThisaruGuruge merged commit 412720c into ballerina-platform:main Oct 13, 2023
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.

Make some of the Java classes in module-websubhub proper utility classes
3 participants