ballerina-lang
ballerina-lang copied to clipboard
[Refactoring] Replace deprecated usage of `new JsonParser`
Purpose
It is recommended to use the static methods of JsonParser.
See: https://github.com/google/gson/blob/99cc4cb11f73a6d672aa6381013d651b7921e00f/gson/src/main/java/com/google/gson/JsonParser.java#L74-L78
Approach
Describe how you are implementing the solutions along with the design details.
Samples
Provide high-level details about the samples related to this feature.
Remarks
List any other known issues, related PRs, TODO items, or any other notes related to the PR.
Check List
- [x] Read the Contributing Guide
- [ ] Updated Change Log
- [ ] Checked Tooling Support (#<Issue Number>)
- [ ] Added necessary tests
- [ ] Unit Tests
- [ ] Spec Conformance Tests
- [ ] Integration Tests
- [ ] Ballerina By Example Tests
- [ ] Increased Test Coverage
- [ ] Added necessary documentation
- [ ] API documentation
- [ ] Module documentation in Module.md files
- [ ] Ballerina By Examples
Codecov Report
Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
Project coverage is 77.35%. Comparing base (
1bd071a) to head (a3f0809). Report is 379 commits behind head on master.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| ...ain/java/io/ballerina/projects/util/FileUtils.java | 0.00% | 1 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## master #42945 +/- ##
============================================
- Coverage 77.35% 77.35% -0.01%
- Complexity 58262 58295 +33
============================================
Files 3450 3453 +3
Lines 218975 219027 +52
Branches 28745 28758 +13
============================================
+ Hits 169395 169428 +33
- Misses 40252 40266 +14
- Partials 9328 9333 +5
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the stale label is removed or commented.
This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the stale label is removed or commented.
Remove state status
This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the stale label is removed or commented.
This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the stale label is removed or commented.