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 #499

Conversation

vil02
Copy link
Contributor

@vil02 vil02 commented Oct 17, 2023

Purpose

Closes ballerina-platform/ballerina-library#5052.

Examples

Checklist

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

vil02 added 3 commits October 19, 2023 08:54
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 #5052.
Use proper formatting of the change log.
@vil02 vil02 force-pushed the 5052_make_some_java_classes_proper_utilities branch from f4cda42 to 360e313 Compare October 19, 2023 06:54
@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

@codecov
Copy link

codecov bot commented Oct 26, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7842297) 90.37% compared to head (360e313) 90.90%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #499      +/-   ##
============================================
+ Coverage     90.37%   90.90%   +0.53%     
  Complexity       92       92              
============================================
  Files            12       12              
  Lines           343      341       -2     
  Branches         56       56              
============================================
  Hits            310      310              
+ Misses           29       27       -2     
  Partials          4        4              
Files Coverage Δ
.../io/ballerina/stdlib/task/actions/TaskActions.java 83.54% <ø> (+1.04%) ⬆️
...ain/java/io/ballerina/stdlib/task/utils/Utils.java 100.00% <ø> (+1.61%) ⬆️

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

@kalaiyarasiganeshalingam kalaiyarasiganeshalingam merged commit 8714c27 into ballerina-platform:master Oct 26, 2023
7 checks passed
@vil02 vil02 deleted the 5052_make_some_java_classes_proper_utilities branch October 26, 2023 05:31
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-task proper utility classes
2 participants