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 Java classes proper utilities #1434

Conversation

vil02
Copy link
Contributor

@vil02 vil02 commented Oct 15, 2023

Purpose

Closes ballerina-platform/ballerina-library#4930.

Examples

Checklist

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

vil02 added 2 commits October 15, 2023 20:16
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.
Closes #4930.
@codecov
Copy link

codecov bot commented Oct 16, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (e01d51b) 80.54% compared to head (006c6d9) 80.24%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1434      +/-   ##
============================================
- Coverage     80.54%   80.24%   -0.30%     
  Complexity       56       56              
============================================
  Files            79       80       +1     
  Lines          5550     5559       +9     
  Branches       1290     1294       +4     
============================================
- Hits           4470     4461       -9     
- Misses          658      677      +19     
+ Partials        422      421       -1     
Files Coverage Δ
...tdlib/grpc/plugin/GrpcCompilerPluginConstants.java 93.75% <ø> (+5.51%) ⬆️
...llerina/stdlib/grpc/StandardDescriptorBuilder.java 96.96% <ø> (+1.44%) ⬆️

... and 5 files with indirect coverage changes

☔ 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

@dilanSachi dilanSachi added the Skip GraalVM Check This will skip the GraalVM compatibility check label Oct 17, 2023
@dilanSachi dilanSachi merged commit a27b6fe into ballerina-platform:master Oct 17, 2023
7 of 9 checks passed
@vil02 vil02 deleted the 4930_make_some_java_classes_proper_utilities branch October 17, 2023 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip GraalVM Check This will skip the GraalVM compatibility check
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make some of the Java classes in module-grpc proper utility classes
2 participants