Skip to content

Change getBoundingBox method visibility from private to public - #767

Merged
MaximPlusov merged 1 commit into
integrationfrom
annotation-node-bbox
Nov 22, 2026
Merged

MaximPlusov merged 1 commit into
integrationfrom
annotation-node-bbox

Conversation

@LonelyMidoriya

@LonelyMidoriya LonelyMidoriya commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Other
    • Made annotation bounding-box information available for use by other parts of the application.

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

GFSAAnnotationNode.getBoundingBox(PDAnnotation) is now public static. Its parameters, return type, and bounding-box calculation are unchanged.

Changes: Annotation API

Layer / File(s) Summary
Expose bounding-box method
wcag-validation/src/main/java/org/verapdf/gf/model/impl/sa/GFSAAnnotationNode.java
getBoundingBox(PDAnnotation) changes from private to public. Its static modifier, parameters, return type, and calculation remain unchanged.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Refactor

Merge Risk: Minimal · up to 521d0

This change makes the annotation bounding-box method public without altering its behavior. No concrete user or production impact is identified, so it is ready to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title states the single change in the PR: the getBoundingBox method in GFSAAnnotationNode goes from private to public. The raw summary confirms this is the only change (+1/-1), and the objectives …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title states the single change in the PR: the getBoundingBox method in GFSAAnnotationNode goes from private to public. The raw summary confirms this is the only change (+1/-1), and the objectives describe the same change, so the title matches the changeset directly.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e97066fa-96bf-43c0-b413-29ce921fa3cd
Commits

Reviewing files that changed from the base of the PR and between 7579b9b and 521d03d.

Files selected for processing: 1

  • wcag-validation/src/main/java/org/verapdf/gf/model/impl/sa/GFSAAnnotationNode.java

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@LonelyMidoriya
LonelyMidoriya marked this pull request as draft November 20, 2026 18:12
@MaximPlusov
MaximPlusov marked this pull request as ready for review November 22, 2026 20:10
@MaximPlusov
MaximPlusov merged commit 8875a62 into integration Nov 22, 2026
8 checks passed
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