Skip to content

feat: improve just + fix linting#24

Merged
janderssonse merged 3 commits intomainfrom
feat/improve-just
Oct 31, 2025
Merged

feat: improve just + fix linting#24
janderssonse merged 3 commits intomainfrom
feat/improve-just

Conversation

@janderssonse
Copy link
Contributor

@janderssonse janderssonse commented Oct 31, 2025

Further improves the just + mise ci refactoring
Uses reusable ci 2.1.1
Fixes all remaining checkstyle and spotbugs warnings.

Checklist

  • Changes are limited to a single goal (avoid scope creep)
  • I confirm that I have read any Contribution and Development guidelines (CONTRIBUTING and DEVELOPMENT) and are following their suggestions.
  • I confirm that I wrote and/or have the right to submit the contents of my Pull Request, by agreeing to the Developer Certificate of Origin, (adding a 'sign-off' to my commits).

Signed-off-by: Josef Andersson <josef.andersson@digg.se>
Signed-off-by: Josef Andersson <josef.andersson@digg.se>
Signed-off-by: Josef Andersson <josef.andersson@digg.se>
@janderssonse janderssonse changed the title Feat/improve just feat: improve just + fix linting Oct 31, 2025
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
<version>4.8.6</version>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Här rättar jag mig själv. Skulle ligga i properties som de övriga, men kosmetiskt, fixar nästa gång.

public class GenericHashToField implements HashToField {

protected final byte[] dst;
@edu.umd.cs.findbugs.annotations.SuppressFBWarnings(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Spotbugs använder fortfarande findbugs annoationsnamn tll synes, då de vill vara bakåtkompatibla.

</rulesets>
<printFailingErrors>true</printFailingErrors>
<failOnViolation>true</failOnViolation>
<linkXRef>false</linkXRef>
Copy link
Contributor Author

@janderssonse janderssonse Oct 31, 2025

Choose a reason for hiding this comment

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

Behövs ej, används bara för att generera pmd docs, och ger då udda varning så därför bort.

<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<violationSeverity>error</violationSeverity>
<violationSeverity>warning</violationSeverity>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ja, nu när vi är rena så kan vi ju prova denna.

@janderssonse janderssonse merged commit d5efe91 into main Oct 31, 2025
11 checks passed
@janderssonse janderssonse deleted the feat/improve-just branch October 31, 2025 11:53
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