Skip to content

Conversation

@shai-almog
Copy link
Collaborator

Motivation

  • Checkstyle for maven/core-unittests was applying to test sources and flagged empty method/constructor bodies written as {}, so the configuration should be limited to the CodenameOne source tree and permit empty bodies.

Description

  • Set <includeTestSourceDirectory>false> in maven/core-unittests/pom.xml so Checkstyle only analyzes the configured sourceDirectory (${src.dir}) and not test or other module sources.
  • Update maven/core-unittests/checkstyle.xml to add allowEmptyMethods=true and allowEmptyConstructors=true to the WhitespaceAround module so {} bodies are accepted.

Testing

  • No automated tests or CI jobs were run for this change.

Codex Task

@github-actions
Copy link

✅ Continuous Quality Report

Test & Coverage

Static Analysis

Generated automatically by the PR CI workflow.

@shai-almog shai-almog merged commit 254ff8a into master Jan 28, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants