Skip to content

fix: resolve VS Code problems in polychro#47

Merged
eskenazit merged 1 commit into
mainfrom
fix/polychro-vscode-problems
Jun 16, 2026
Merged

fix: resolve VS Code problems in polychro#47
eskenazit merged 1 commit into
mainfrom
fix/polychro-vscode-problems

Conversation

@jlouvel

@jlouvel jlouvel commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Resolves the outstanding VS Code "Problems" reported in the Polychro repo and includes a small README cleanup.

Changes

Fix the only VS Code problem in Polychro

FunctionRegistryTest.functionProviderDefaultsToNoFunctions was flagged with:

The method functions() from the type FunctionProvider is deprecated

That call is intentional — the test verifies the backward-compatibility default of the deprecated FunctionProvider.functions() (and that the context-aware functions(Path, List) default delegates to it). Rather than remove the coverage, the test method is now annotated with @SuppressWarnings("deprecation") and a clarifying comment, so the warning is silenced while the legacy contract stays under test.

README cleanup

  • Removed a stray blank line between the License and Coverage badges.
  • Bumped the architecture diagram width from 700 to 800 for visual consistency with the other diagrams.

Verification

  • mvn -pl polychro-ruleset -am test-compileBUILD SUCCESS with zero deprecation warnings.
  • VS Code Problems panel: no remaining Polychro entries (the only Polychro problem is now resolved).

Notes

No source or runtime behavior changes — this is a warning-hygiene + docs cleanup PR.

@jlouvel jlouvel requested a review from eskenazit June 15, 2026 14:08
@jlouvel jlouvel self-assigned this Jun 15, 2026
- Suppress the intentional deprecation warning in FunctionRegistryTest
  where the test deliberately exercises the deprecated
  FunctionProvider.functions() default to verify backward-compat behavior.
- README: drop stray blank line between badges and bump architecture
  diagram width to 800px for consistency.

No source/runtime behavior change; clean `mvn test-compile` on
polychro-ruleset confirms zero deprecation warnings.
@eskenazit eskenazit force-pushed the fix/polychro-vscode-problems branch from 826cb76 to b7cc65b Compare June 15, 2026 14:18
@eskenazit eskenazit merged commit 611fedb into main Jun 16, 2026
11 of 12 checks passed
@eskenazit eskenazit deleted the fix/polychro-vscode-problems branch June 16, 2026 14:56
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