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

[core]: fix spotless linter #561

Closed
wants to merge 2 commits into from
Closed

[core]: fix spotless linter #561

wants to merge 2 commits into from

Conversation

Jaguar0625
Copy link
Contributor

 problem: spotless is not running
solution: update spotless configuration
          add fixing of imports

@Jaguar0625 Jaguar0625 changed the title Spotless/fix/core [core]: fix spotless linter Sep 5, 2024
Copy link

codecov bot commented Sep 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.54%. Comparing base (69d3aa2) to head (24b08a9).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##                dev     #561   +/-   ##
=========================================
  Coverage     93.54%   93.54%           
  Complexity     6059     6059           
=========================================
  Files           718      718           
  Lines         17312    17312           
  Branches       1304     1304           
=========================================
  Hits          16195    16195           
  Misses          864      864           
  Partials        253      253           
Flag Coverage Δ
nem-core 95.51% <100.00%> (ø)
nem-deploy 52.98% <ø> (ø)
nem-nis 94.16% <ø> (ø)
nem-peer 94.11% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...java/org/nem/core/async/AbstractDelayStrategy.java 100.00% <ø> (ø)
...ava/org/nem/core/async/AggregateDelayStrategy.java 100.00% <ø> (ø)
...e/src/main/java/org/nem/core/async/AsyncTimer.java 100.00% <ø> (ø)
...a/org/nem/core/async/AsyncTimerOptionsBuilder.java 100.00% <ø> (ø)
...n/java/org/nem/core/async/LinearDelayStrategy.java 100.00% <ø> (ø)
.../java/org/nem/core/async/NemAsyncTimerVisitor.java 100.00% <ø> (ø)
.../src/main/java/org/nem/core/async/SleepFuture.java 85.71% <ø> (ø)
.../java/org/nem/core/async/UniformDelayStrategy.java 100.00% <ø> (ø)
...java/org/nem/core/async/VariableDelayStrategy.java 100.00% <ø> (ø)
...n/java/org/nem/core/connect/BusyPeerException.java 33.33% <ø> (ø)
... and 221 more

Copy link
Contributor

@Wayonb Wayonb left a comment

Choose a reason for hiding this comment

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

👍🏾

/**
* A Matrix implementation that uses CompRowMatrix from MTJ.
*/
/** A Matrix implementation that uses CompRowMatrix from MTJ. */
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we keep the docs as before?

/**
  * A Matrix implementation that uses CompRowMatrix from MTJ.
  */

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i couldn't find a flag to tell spotless to prefer the multiline version


/**
* Class for for retrieving mosaic supplies.
*/
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess spotless needs to be run on the new files? so it should be a single line.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this PR currently only has changes for core, but if rules look ok, i'll update it for the other projects as well

 problem: spotless is not running
solution: update spotless configuration
          add fixing of imports
@Jaguar0625
Copy link
Contributor Author

Close and replace with #576

@Jaguar0625 Jaguar0625 closed this Oct 10, 2024
@Jaguar0625 Jaguar0625 deleted the spotless/fix/core branch October 10, 2024 18:19
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.

2 participants