Skip to content

Conversation

the-yash-rajput
Copy link
Contributor

@the-yash-rajput the-yash-rajput commented Oct 16, 2025

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized it.
  • All filenames are in PascalCase.
  • All functions and variable names follow Java naming conventions.
  • All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • All new code is formatted with clang-format -i --style=file path/to/your/file.java

@codecov-commenter
Copy link

codecov-commenter commented Oct 16, 2025

Codecov Report

❌ Patch coverage is 95.34884% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.89%. Comparing base (e1773e9) to head (5284221).

Files with missing lines Patch % Lines
...a/com/thealgorithms/physics/SimplePendulumRK4.java 95.34% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6800      +/-   ##
============================================
+ Coverage     77.85%   77.89%   +0.04%     
- Complexity     6359     6373      +14     
============================================
  Files           731      732       +1     
  Lines         21190    21233      +43     
  Branches       4142     4146       +4     
============================================
+ Hits          16497    16539      +42     
- Misses         4034     4036       +2     
+ Partials        659      658       -1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@the-yash-rajput
Copy link
Contributor Author

@alxkm Please review and merge this PR.
Thanks.

*/
public final class SimplePendulumRK4 {

private SimplePendulumRK4() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once you define any constructor, Java doesn't generate a default no-arg constructor. So this redundant.

@the-yash-rajput the-yash-rajput requested a review from alxkm October 17, 2025 05:57
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.

3 participants